pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: main.c,v 1.11 1996/11/22 20:58:23 hubbe Exp $"); + RCSID("$Id: main.c,v 1.12 1996/12/03 21:41:19 hubbe Exp $");   #include "types.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"   #include "interpret.h"
pike.git/src/main.c:33:      char *master_file;      int d_flag=0;   int c_flag=0;   int t_flag=0;   int a_flag=0;   int l_flag=0;   int p_flag=0;    - static struct callback *post_master_callbacks =0; + static struct callback_list post_master_callbacks;      struct callback *add_post_master_callback(callback_func call,    void *arg,    callback_func free_func)   {    return add_to_callback(&post_master_callbacks, call, arg, free_func);   }         void main(int argc, char **argv, char **env)