Branch: Tag:

2005-01-20

2005-01-20 00:27:17 by Martin Nilsson <mani@lysator.liu.se>

Added const

Rev: src/program.c:1.585

2:   || 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: program.c,v 1.584 2005/01/07 13:28:14 grubba Exp $ + || $Id: program.c,v 1.585 2005/01/20 00:27:17 nilsson Exp $   */      #include "global.h"
160:   /* mapping(string:type) */   static struct mapping *lfun_types;    - static char *raw_lfun_types[] = { + static const char *const raw_lfun_types[] = {    tFuncV(tNone,tVoid,tVoid), /* "__INIT", */    tFuncV(tNone,tZero,tVoid), /* "create", */    tFuncV(tNone,tVoid,tVoid), /* "destroy", */