X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fndir.h;h=9684594bfc9379c77cccce8d2a460b9cf823a593;hb=3aca7317dd930beecbddba646284279744087e69;hp=eceabcf1d801f3b27ee775a01b5f6a7fbb871ff1;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git- diff --git a/src/ndir.h b/src/ndir.h index eceabcf..9684594 100644 --- a/src/ndir.h +++ b/src/ndir.h @@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */ last edit: 09-Jul-1983 D A Gwyn */ +#ifndef INCLUDED_ndir_h_ +#define INCLUDED_ndir_h_ + #define DIRBLKSIZ 512 /* size of directory block */ #ifdef WINDOWSNT #define MAXNAMLEN 255 @@ -47,7 +50,7 @@ typedef struct char dd_buf[DIRBLKSIZ]; /* directory block */ } DIR; /* stream data from opendir() */ -DIR *opendir (CONST char *filename); +DIR *opendir (const char *filename); int closedir (DIR *dirp); struct direct *readdir (DIR *dirp); struct direct *readdirver (DIR *dirp); @@ -55,3 +58,5 @@ long telldir (DIR *dirp); void seekdir (DIR *dirp, long loc); #define rewinddir( dirp ) seekdir( dirp, 0L ) + +#endif /* INCLUDED_ndir_h_ */