projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(enum lrecord_type): Rename `lrecord_type_char_code_table' to
[chise/xemacs-chise.git-]
/
src
/
sysdir.h
diff --git
a/src/sysdir.h
b/src/sysdir.h
index
aee0223
..
76f9cd8
100644
(file)
--- a/
src/sysdir.h
+++ b/
src/sysdir.h
@@
-20,13
+20,16
@@
Boston, MA 02111-1307, USA. */
/* Synched up with: Not really in FSF. */
/* Synched up with: Not really in FSF. */
+#ifndef INCLUDED_sysdir_h_
+#define INCLUDED_sysdir_h_
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef SYSV_SYSTEM_DIR
# include <dirent.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef SYSV_SYSTEM_DIR
# include <dirent.h>
-#elif defined (NONSYSTEM_DIR_LIBRARY)
+#elif defined (NONSYSTEM_DIR_LIBRARY)
# include "ndir.h"
#elif defined (MSDOS)
# include <dirent.h>
# include "ndir.h"
#elif defined (MSDOS)
# include <dirent.h>
@@
-64,7
+67,7
@@
Boston, MA 02111-1307, USA. */
/* encapsulation: directory calls */
#ifdef ENCAPSULATE_CHDIR
/* 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
#endif
#if defined (ENCAPSULATE_CHDIR) && !defined (DONT_ENCAPSULATE)
# undef chdir
@@
-75,7
+78,7
@@
int sys_chdir (CONST char *path);
#endif
#ifdef ENCAPSULATE_MKDIR
#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
#endif
#if defined (ENCAPSULATE_MKDIR) && !defined (DONT_ENCAPSULATE)
# undef mkdir
@@
-86,7
+89,7
@@
int sys_mkdir (CONST char *path, mode_t mode);
#endif
#ifdef ENCAPSULATE_OPENDIR
#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
#endif
#if defined (ENCAPSULATE_OPENDIR) && !defined (DONT_ENCAPSULATE)
# undef opendir
@@
-119,7
+122,7
@@
int sys_closedir (DIR *dirp);
#endif
#ifdef ENCAPSULATE_RMDIR
#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
#endif
#if defined (ENCAPSULATE_RMDIR) && !defined (DONT_ENCAPSULATE)
# undef rmdir
@@
-129,3
+132,4
@@
int sys_rmdir (CONST char *path);
# define sys_rmdir rmdir
#endif
# define sys_rmdir rmdir
#endif
+#endif /* INCLUDED_sysdir_h_ */