Branch: Tag:

1997-08-30

1997-08-30 18:36:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed prototypes almost everywhere.

Rev: src/acconfig.h:1.9
Rev: src/array.c:1.12
Rev: src/array.h:1.4
Rev: src/backend.c:1.15
Rev: src/backend.h:1.3
Rev: src/builtin_functions.c:1.41
Rev: src/builtin_functions.h:1.4
Rev: src/callback.c:1.9
Rev: src/callback.h:1.4
Rev: src/constants.c:1.12
Rev: src/constants.h:1.5
Rev: src/docode.c:1.20
Rev: src/docode.h:1.3
Rev: src/dynamic_load.c:1.19
Rev: src/dynamic_load.h:1.2
Rev: src/error.c:1.8
Rev: src/error.h:1.6
Rev: src/gc.c:1.12
Rev: src/gc.h:1.10
Rev: src/hashtable.c:1.3
Rev: src/hashtable.h:1.4
Rev: src/interpret.c:1.45
Rev: src/interpret.h:1.12
Rev: src/language.yacc:1.46
Rev: src/las.c:1.36
Rev: src/las.h:1.8
Rev: src/lex.c:1.26
Rev: src/lex.h:1.5
Rev: src/main.c:1.23
Rev: src/mapping.c:1.21
Rev: src/mapping.h:1.4
Rev: src/modules/Gdbm/gdbmmod.c:1.4
Rev: src/modules/Gmp/mpz_glue.c:1.20
Rev: src/modules/Image/image.c:1.36
Rev: src/modules/Image/polyfill.c:1.5
Rev: src/modules/Mysql/mysql.c:1.6
Rev: src/modules/Pipe/pipe.c:1.11
Rev: src/modules/Regexp/glue.c:1.7
Rev: src/modules/Regexp/pike_regexp.c:1.5
Rev: src/modules/Ssleay/ssleay.c:1.7
Rev: src/modules/Yp/yp.c:1.8
Rev: src/modules/_Crypto/lib/desQuick.c:1.3
Rev: src/modules/call_out/call_out.c:1.13
Rev: src/modules/files/efuns.c:1.33
Rev: src/modules/files/file.c:1.51
Rev: src/modules/files/file.h:1.5
Rev: src/modules/files/socket.c:1.14
Rev: src/modules/math/math.c:1.5
Rev: src/modules/spider/accesseddb.c:1.10
Rev: src/modules/spider/dumudp.c:1.14
Rev: src/modules/spider/spider.c:1.39
Rev: src/modules/spider/streamed_parser.c:1.7
Rev: src/modules/spider/streamed_parser.h:1.2
Rev: src/multiset.c:1.7
Rev: src/multiset.h:1.3
Rev: src/object.c:1.21
Rev: src/object.h:1.11
Rev: src/opcodes.c:1.8
Rev: src/opcodes.h:1.3
Rev: src/operators.c:1.16
Rev: src/operators.h:1.3
Rev: src/peep.c:1.15
Rev: src/peep.h:1.3
Rev: src/pike_types.c:1.25
Rev: src/pike_types.h:1.5
Rev: src/program.c:1.37
Rev: src/program.h:1.18
Rev: src/rusage.c:1.8
Rev: src/rusage.h:1.2
Rev: src/signal_handler.c:1.14
Rev: src/signal_handler.h:1.3
Rev: src/stralloc.c:1.17
Rev: src/stralloc.h:1.9
Rev: src/svalue.c:1.14
Rev: src/threads.c:1.24
Rev: src/threads.h:1.12

96:    struct pike_string *type;    unsigned INT16 flags; /* IDENTIFIER_??? */    unsigned INT16 run_time_type; + #ifdef PROFILING +  unsigned INT32 num_calls; + #endif /* PROFILING */    union idptr func;   };   
153: Inside #if defined(DEBUG)
  #ifdef DEBUG    unsigned INT32 checksum;   #endif + #ifdef PROFILING +  unsigned INT32 num_clones; + #endif /* PROFILING */       SIZE_T total_size;    SIZE_T num_linenumbers;
182:   void use_module(struct svalue *s);   int find_module_identifier(struct pike_string *ident);   struct program *id_to_program(INT32 id); - void setup_fake_program(); - void start_new_program(); + void setup_fake_program(void); + void start_new_program(void);   void really_free_program(struct program *p);   void dump_program_desc(struct program *p); - void toss_current_program(); + void toss_current_program(void);   void check_program(struct program *p); - struct program *end_program(); + struct program *end_program(void);   SIZE_T add_storage(SIZE_T size);   void set_init_callback(void (*init)(struct object *));   void set_exit_callback(void (*exit)(struct object *));
248:   void store_linenumber(INT32 current_line, struct pike_string *current_file);   char *get_line(unsigned char *pc,struct program *prog,INT32 *linep);   void my_yyerror(char *fmt,...); - void compile(); + void compile(void);   struct program *compile_file(struct pike_string *file_name);   struct program *compile_string(struct pike_string *prog,    struct pike_string *name);   void add_function(char *name,void (*cfun)(INT32),char *type,INT16 flags); - void check_all_programs(); - void cleanup_program(); + void check_all_programs(void); + void cleanup_program(void);   void gc_mark_program_as_referenced(struct program *p); - void gc_check_all_programs(); - void gc_mark_all_programs(); - void gc_free_all_unreferenced_programs(); + void gc_check_all_programs(void); + void gc_mark_all_programs(void); + void gc_free_all_unreferenced_programs(void);   void count_memory_in_programs(INT32 *num_, INT32 *size_); - void push_locals(); - void pop_locals(); + void push_locals(void); + void pop_locals(void);   char *get_storage(struct object *o, struct program *p);   /* Prototypes end here */