summaryrefslogtreecommitdiffstats
path: root/compat/dirent2.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-26 09:55:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-12-26 09:55:45 (GMT)
commitd525cce307b002900a04c58a4adff1470f24202c (patch)
treeef71f64fd11d949c2d5d7d37c7014072db7daae3 /compat/dirent2.h
parentcd8d5b5a18221b00c35aa76c901a50d7fa45bef8 (diff)
downloadtcl-d525cce307b002900a04c58a4adff1470f24202c.zip
tcl-d525cce307b002900a04c58a4adff1470f24202c.tar.gz
tcl-d525cce307b002900a04c58a4adff1470f24202c.tar.bz2
eliminate dependancy of compat/*.h on tcl.h
Diffstat (limited to 'compat/dirent2.h')
-rw-r--r--compat/dirent2.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/compat/dirent2.h b/compat/dirent2.h
index c00d2f4..5be08ba 100644
--- a/compat/dirent2.h
+++ b/compat/dirent2.h
@@ -14,10 +14,6 @@
#ifndef _DIRENT
#define _DIRENT
-#ifndef _TCL
-#include <tcl.h>
-#endif
-
/*
* Dirent structure, which holds information about a single
* directory entry.
@@ -50,8 +46,8 @@ typedef struct _dirdesc {
* Procedures defined for reading directories:
*/
-extern void closedir _ANSI_ARGS_((DIR *dirp));
-extern DIR * opendir _ANSI_ARGS_((char *name));
-extern struct dirent * readdir _ANSI_ARGS_((DIR *dirp));
+extern void closedir (DIR *dirp);
+extern DIR * opendir (char *name);
+extern struct dirent * readdir (DIR *dirp);
#endif /* _DIRENT */