diff src/ndir.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents c5d627a313b1
children de805c49cfc1
line wrap: on
line diff
--- a/src/ndir.h	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/ndir.h	Mon Aug 13 11:13:30 2007 +0200
@@ -23,6 +23,9 @@
 	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 @@
   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 @@
 void seekdir (DIR *dirp, long loc);
 
 #define rewinddir( dirp )	seekdir( dirp, 0L )
+
+#endif /* INCLUDED_ndir_h_ */