summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-09-03 05:43:22 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-09-03 05:43:22 (GMT)
commite72b23c2ef58f8fc0fe5d9f1b6fd9dc04caedefa (patch)
tree216ee52f93716ef849868accef30b2e4ad79e04d /compat
parenta8602e1abc63945cb101c7a028629b37326832ef (diff)
downloadtcl-e72b23c2ef58f8fc0fe5d9f1b6fd9dc04caedefa.zip
tcl-e72b23c2ef58f8fc0fe5d9f1b6fd9dc04caedefa.tar.gz
tcl-e72b23c2ef58f8fc0fe5d9f1b6fd9dc04caedefa.tar.bz2
* generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macro
* compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h:
Diffstat (limited to 'compat')
-rw-r--r--compat/dirent2.h8
-rw-r--r--compat/dlfcn.h14
2 files changed, 11 insertions, 11 deletions
diff --git a/compat/dirent2.h b/compat/dirent2.h
index 7c2406c..8deed91 100644
--- a/compat/dirent2.h
+++ b/compat/dirent2.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: dirent2.h,v 1.2 1998/09/14 18:39:44 stanton Exp $
+ * RCS: @(#) $Id: dirent2.h,v 1.3 2008/09/03 05:43:31 dgp Exp $
*/
#ifndef _DIRENT
@@ -52,8 +52,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 */
diff --git a/compat/dlfcn.h b/compat/dlfcn.h
index 1dee078..03d878a 100644
--- a/compat/dlfcn.h
+++ b/compat/dlfcn.h
@@ -17,7 +17,7 @@
* for any results of using the software, alterations are clearly marked
* as such, and this notice is not modified.
*
- * RCS: @(#) $Id: dlfcn.h,v 1.2 1998/09/14 18:39:44 stanton Exp $
+ * RCS: @(#) $Id: dlfcn.h,v 1.3 2008/09/03 05:43:31 dgp Exp $
*/
/*
@@ -49,14 +49,14 @@ extern "C" {
* that contains functions to be called to initialize and terminate.
*/
struct dl_info {
- void (*init) _ANSI_ARGS_((void));
- void (*fini) _ANSI_ARGS_((void));
+ void (*init) (void);
+ void (*fini) (void);
};
-VOID *dlopen _ANSI_ARGS_((const char *path, int mode));
-VOID *dlsym _ANSI_ARGS_((void *handle, const char *symbol));
-char *dlerror _ANSI_ARGS_((void));
-int dlclose _ANSI_ARGS_((void *handle));
+VOID *dlopen (const char *path, int mode);
+VOID *dlsym (void *handle, const char *symbol);
+char *dlerror (void);
+int dlclose (void *handle);
#ifdef __cplusplus
}