diff src/sysdir.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/sysdir.h	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/sysdir.h	Mon Aug 13 11:13:30 2007 +0200
@@ -20,6 +20,9 @@
 
 /* Synched up with: Not really in FSF. */
 
+#ifndef INCLUDED_sysdir_h_
+#define INCLUDED_sysdir_h_
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
@@ -64,7 +67,7 @@
 /* encapsulation: directory calls */
 
 #ifdef ENCAPSULATE_CHDIR
-int sys_chdir (CONST char *path);
+int sys_chdir (const char *path);
 #endif
 #if defined (ENCAPSULATE_CHDIR) && !defined (DONT_ENCAPSULATE)
 # undef chdir
@@ -75,7 +78,7 @@
 #endif
 
 #ifdef ENCAPSULATE_MKDIR
-int sys_mkdir (CONST char *path, mode_t mode);
+int sys_mkdir (const char *path, mode_t mode);
 #endif
 #if defined (ENCAPSULATE_MKDIR) && !defined (DONT_ENCAPSULATE)
 # undef mkdir
@@ -86,7 +89,7 @@
 #endif
 
 #ifdef ENCAPSULATE_OPENDIR
-DIR *sys_opendir (CONST char *filename);
+DIR *sys_opendir (const char *filename);
 #endif
 #if defined (ENCAPSULATE_OPENDIR) && !defined (DONT_ENCAPSULATE)
 # undef opendir
@@ -119,7 +122,7 @@
 #endif
 
 #ifdef ENCAPSULATE_RMDIR
-int sys_rmdir (CONST char *path);
+int sys_rmdir (const char *path);
 #endif
 #if defined (ENCAPSULATE_RMDIR) && !defined (DONT_ENCAPSULATE)
 # undef rmdir
@@ -129,3 +132,4 @@
 # define sys_rmdir rmdir
 #endif
 
+#endif /* INCLUDED_sysdir_h_ */