Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22503
Modified Files: Tag: branch-v0-40-extended s_main.c Log Message: Mark pd_compiledate and pd_compiletime as static and const because they are not needed elsewhere, and point to constants that can not be written over.
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.28.6.7 retrieving revision 1.28.6.8 diff -C2 -d -r1.28.6.7 -r1.28.6.8 *** s_main.c 6 Jan 2008 04:34:15 -0000 1.28.6.7 --- s_main.c 7 Jan 2008 04:36:28 -0000 1.28.6.8 *************** *** 30,35 ****
char *pd_version; ! char pd_compiletime[] = __TIME__; ! char pd_compiledate[] = __DATE__;
void pd_init(void); --- 30,35 ----
char *pd_version; ! static const char pd_compiletime[] = __TIME__; ! static const char pd_compiledate[] = __DATE__;
void pd_init(void);