From e39ec5ce3e95bcd156a01e6745d537230bf8508d Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 29 Jan 2020 09:56:43 -0500 Subject: [PATCH] rename new header file to fnamesiz.h Changes to be committed: renamed: include/filesize.h -> include/fnamesiz.h --- include/config.h | 2 +- include/decl.h | 2 +- include/{filesize.h => fnamesiz.h} | 0 sys/msdos/Makefile.GCC | 2 +- sys/unix/Makefile.src | 2 +- sys/winnt/Makefile.gcc | 2 +- sys/winnt/Makefile.msc | 2 +- util/recover.c | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename include/{filesize.h => fnamesiz.h} (100%) diff --git a/include/config.h b/include/config.h index 53a3ebd79..f1af270ef 100644 --- a/include/config.h +++ b/include/config.h @@ -579,6 +579,6 @@ typedef unsigned char uchar; #endif #include "global.h" /* Define everything else according to choices above */ -#include "filesize.h" /* Define file sizes shared between nethack and recover */ +#include "fnamesiz.h" /* Define file sizes shared between nethack and recover */ #endif /* CONFIG_H */ diff --git a/include/decl.h b/include/decl.h index a666a5db8..5588377a3 100644 --- a/include/decl.h +++ b/include/decl.h @@ -881,7 +881,7 @@ struct instance_globals { boolean chosen_symset_start; boolean chosen_symset_end; int symset_which_set; - /* SAVESIZE, BONESSIZE, LOCKNAMESIZE are defined in "filesize.h" */ + /* SAVESIZE, BONESSIZE, LOCKNAMESIZE are defined in "fnamesiz.h" */ char SAVEF[SAVESIZE]; /* holds relative path of save file from playground */ #ifdef MICRO char SAVEP[SAVESIZE]; /* holds path of directory for save file */ diff --git a/include/filesize.h b/include/fnamesiz.h similarity index 100% rename from include/filesize.h rename to include/fnamesiz.h diff --git a/sys/msdos/Makefile.GCC b/sys/msdos/Makefile.GCC index 16ecd8ec0..a1ad46c46 100644 --- a/sys/msdos/Makefile.GCC +++ b/sys/msdos/Makefile.GCC @@ -424,7 +424,7 @@ YOU_H = $(MONST_H) $(YOUPROP_H) $(INCL)/align.h \ DISPLAY_H = $(MONDATA_H) $(INCL)/vision.h $(INCL)/display.h PCCONF_H = $(INCL)/micro.h $(INCL)/system.h $(INCL)/pcconf.h \ $(MSYS)/pcvideo.h -CONFIG_H = $(GLOBAL_H) $(INCL)/filesize.h $(INCL)/tradstdc.h \ +CONFIG_H = $(GLOBAL_H) $(INCL)/fnamesiz.h $(INCL)/tradstdc.h \ $(INCL)/config1.h $(INCL)/config.h DECL_H = $(YOU_H) $(INCL)/spell.h $(INCL)/color.h \ $(INCL)/obj.h $(INCL)/onames.h $(INCL)/pm.h \ diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index 06002056c..6664f287c 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -729,7 +729,7 @@ depend: ../sys/unix/depend.awk \ # config.h timestamp $(CONFIG_H): ../include/config.h ../include/config1.h ../include/tradstdc.h \ - ../include/global.h ../include/filesize.h ../include/coord.h \ + ../include/global.h ../include/fnamesiz.h ../include/coord.h \ ../include/vmsconf.h ../include/system.h ../include/nhlua.h \ ../include/unixconf.h ../include/os2conf.h ../include/micro.h \ ../include/pcconf.h ../include/tosconf.h ../include/amiconf.h \ diff --git a/sys/winnt/Makefile.gcc b/sys/winnt/Makefile.gcc index d835bab80..01254023d 100644 --- a/sys/winnt/Makefile.gcc +++ b/sys/winnt/Makefile.gcc @@ -469,7 +469,7 @@ endif #========================================== CONFIG_H = $(INCL)/config.h $(INCL)/config1.h $(INCL)/tradstdc.h \ - $(INCL)/global.h $(INCL)/filesize.h $(INCL)/coord.h \ + $(INCL)/global.h $(INCL)/fnamesiz.h $(INCL)/coord.h \ $(INCL)/vmsconf.h $(INCL)/system.h $(INCL)/unixconf.h \ $(INCL)/os2conf.h $(INCL)/micro.h $(INCL)/pcconf.h \ $(INCL)/tosconf.h $(INCL)/amiconf.h $(INCL)/macconf.h \ diff --git a/sys/winnt/Makefile.msc b/sys/winnt/Makefile.msc index 0ea5deffb..fa15ce0e7 100644 --- a/sys/winnt/Makefile.msc +++ b/sys/winnt/Makefile.msc @@ -485,7 +485,7 @@ PDCLIB = #========================================== CONFIG_H = $(INCL)\config.h $(INCL)\config1.h $(INCL)\tradstdc.h \ - $(INCL)\global.h $(INCL)\filesize.h $(INCL)\coord.h \ + $(INCL)\global.h $(INCL)\fnamesiz.h $(INCL)\coord.h \ $(INCL)\vmsconf.h $(INCL)\system.h $(INCL)\nhlua.h \ $(INCL)\unixconf.h $(INCL)\os2conf.h $(INCL)\micro.h \ $(INCL)\pcconf.h $(INCL)\tosconf.h $(INCL)\amiconf.h \ diff --git a/util/recover.c b/util/recover.c index 41e3a1399..be2b6a4b8 100644 --- a/util/recover.c +++ b/util/recover.c @@ -46,7 +46,7 @@ char *FDECL(exepath, (char *)); extern unsigned _stklen = STKSIZ; #endif -/* SAVESIZE is defined in "filesize.h" */ +/* SAVESIZE is defined in "fnamesiz.h" */ char savename[SAVESIZE]; /* holds relative path of save file from playground */ int