~ubuntu-branches/ubuntu/oneiric/bc/oneiric

« back to all changes in this revision

Viewing changes to bc/proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-05 12:24:03 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071205122403-rv1a7x90ktu1wl95
Tags: 1.06.94-3ubuntu1
* Merge with Debian; remaining changes:
  - Make bc/dc notice read and write errors on its input and output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* proto.h: Prototype function definitions for "external" functions. */
2
 
 
3
1
/*  This file is part of GNU bc.
4
 
    Copyright (C) 1991-1994, 1997, 2000 Free Software Foundation, Inc.
 
2
 
 
3
    Copyright (C) 1991-1994, 1997, 2006 Free Software Foundation, Inc.
5
4
 
6
5
    This program is free software; you can redistribute it and/or modify
7
6
    it under the terms of the GNU General Public License as published by
14
13
    GNU General Public License for more details.
15
14
 
16
15
    You should have received a copy of the GNU General Public License
17
 
    along with this program; see the file COPYING.  If not, write to
 
16
    along with this program; see the file COPYING.  If not, write to:
18
17
      The Free Software Foundation, Inc.
19
 
      59 Temple Place, Suite 330
20
 
      Boston, MA 02111 USA
 
18
      Foundation, Inc.  51 Franklin Street, Fifth Floor,
 
19
      Boston, MA 02110-1301  USA
21
20
 
22
21
    You may contact the author by:
23
22
       e-mail:  philnelson@acm.org
28
27
       
29
28
*************************************************************************/
30
29
 
 
30
/* proto.h: Prototype function definitions for "external" functions. */
 
31
 
31
32
/* For the pc version using k&r ACK. (minix1.5 and earlier.) */
32
33
#ifdef SHORTNAMES
33
34
#define init_numbers i_numbers
61
62
_PROTOTYPE(void stop_execution, (int));
62
63
_PROTOTYPE(unsigned char byte, (program_counter *pc));
63
64
_PROTOTYPE(void execute, (void));
64
 
_PROTOTYPE(char prog_char, (void));
65
 
_PROTOTYPE(char input_char, (void));
66
 
_PROTOTYPE(void push_constant, (char (*in_char)(void), int conv_base));
 
65
_PROTOTYPE(int prog_char, (void));
 
66
_PROTOTYPE(int input_char, (void));
 
67
_PROTOTYPE(void push_constant, (int (*in_char)(void), int conv_base));
67
68
_PROTOTYPE(void push_b10_const, (program_counter *pc));
68
69
_PROTOTYPE(void assign, (int c_code));
69
70
 
74
75
_PROTOTYPE(char *call_str, (arg_list *args));
75
76
_PROTOTYPE(void free_args, (arg_list *args));
76
77
_PROTOTYPE(void check_params, (arg_list *params, arg_list *autos));
 
78
_PROTOTYPE(void set_genstr_size, (int));
77
79
_PROTOTYPE(void init_gen, (void));
78
80
_PROTOTYPE(void generate, (char *str));
79
81
_PROTOTYPE(void run_code, (void));
83
85
_PROTOTYPE(int insert_id_rec, (id_rec **root, id_rec *new_id));
84
86
_PROTOTYPE(void init_tree, (void));
85
87
_PROTOTYPE(int lookup, (char *name, int namekind));
86
 
_PROTOTYPE(char *bc_malloc, (int));
 
88
_PROTOTYPE(void *bc_malloc, (int));
87
89
_PROTOTYPE(void out_of_memory, (void));
88
90
_PROTOTYPE(void welcome, (void));
89
91
_PROTOTYPE(void warranty, (char *));