pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: module.c,v 1.28 2004/09/18 20:50:52 nilsson Exp $ + || $Id: module.c,v 1.29 2004/09/18 23:00:52 nilsson Exp $   */      #include "global.h"   #include "module.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "builtin_functions.h"   #include "main.h"   #include "svalue.h"   #include "interpret.h"
pike.git/src/module.c:33:      typedef void (*modfun)(void);      struct static_module   {    char *name;    modfun init;    modfun exit;   };    - static struct static_module module_list[] = { + static const struct static_module module_list[] = {    { "Builtin", low_init_main, low_exit_main }   #include "modules/modlist.h"   #include "post_modules/modlist.h"   };      void init_modules(void)   {    struct program *p = NULL;    unsigned int e;    struct lex save_lex;