summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-11 19:51:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-11 19:51:05 (GMT)
commitd88296d25a07ae5b6d53021a3954e90a3048601c (patch)
treeb8fd8d2f94848384192e3b94c625777fa9d57967 /Mac/Modules
parent4d4daed7cd9f82ae32ad8ffbbf3942abf1049b61 (diff)
downloadcpython-d88296d25a07ae5b6d53021a3954e90a3048601c.zip
cpython-d88296d25a07ae5b6d53021a3954e90a3048601c.tar.gz
cpython-d88296d25a07ae5b6d53021a3954e90a3048601c.tar.bz2
ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/macmodule.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index a100cf5..ba545c3 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -97,24 +97,24 @@ int sync(void);
#ifndef USE_GUSI
-int chdir Py_PROTO((const char *path));
-int mkdir Py_PROTO((const char *path, int mode));
-DIR * opendir Py_PROTO((char *));
-void closedir Py_PROTO((DIR *));
-struct dirent * readdir Py_PROTO((DIR *));
-int rmdir Py_PROTO((const char *path));
-int sync Py_PROTO((void));
+int chdir(const char *path);
+int mkdir(const char *path, int mode);
+DIR * opendir(char *);
+void closedir(DIR *);
+struct dirent * readdir(DIR *);
+int rmdir(const char *path);
+int sync(void);
#if defined(__SC__)
-int unlink Py_PROTO((char *));
+int unlink(char *);
#else
-int unlink Py_PROTO((const char *));
+int unlink(const char *);
#endif
#endif /* USE_GUSI */
-char *getwd Py_PROTO((char *));
-char *getbootvol Py_PROTO((void));
+char *getwd(char *);
+char *getbootvol(void);
static PyObject *MacError; /* Exception mac.error */
@@ -132,7 +132,7 @@ mac_error()
static PyObject *
mac_1str(args, func)
PyObject *args;
- int (*func) Py_FPROTO((const char *));
+ int (*func)(const char *);
{
char *path1;
int res;
@@ -150,7 +150,7 @@ mac_1str(args, func)
static PyObject *
mac_2str(args, func)
PyObject *args;
- int (*func) Py_FPROTO((const char *, const char *));
+ int (*func)(const char *, const char *);
{
char *path1, *path2;
int res;
@@ -168,7 +168,7 @@ mac_2str(args, func)
static PyObject *
mac_strint(args, func)
PyObject *args;
- int (*func) Py_FPROTO((const char *, int));
+ int (*func)(const char *, int);
{
char *path;
int i;
@@ -248,7 +248,7 @@ mac_fdopen(self, args)
PyObject *self;
PyObject *args;
{
- extern int fclose Py_PROTO((FILE *));
+ extern int fclose(FILE *);
int fd;
char *mode;
FILE *fp;