summaryrefslogtreecommitdiff
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-09 00:55:06 +0000
committerFred Drake <fdrake@acm.org>2000-07-09 00:55:06 +0000
commitee5a5b53be32a798855c60e1a6fb5934d7a03465 (patch)
tree87ca5b6f967df7d1ca3860a8018b1d323c1969b3 /Include/sysmodule.h
parent2a9034d3c9b7801b02e97521937eb0666f7bebf4 (diff)
downloadcpython-ee5a5b53be32a798855c60e1a6fb5934d7a03465.tar.gz
ANSI-fication and Py_PROTO extermination.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index 2dee530250..e208fc392a 100644
--- a/Include/sysmodule.h
+++ b/Include/sysmodule.h
@@ -1,9 +1,3 @@
-#ifndef Py_SYSMODULE_H
-#define Py_SYSMODULE_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
@@ -16,11 +10,17 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* System module interface */
-DL_IMPORT(PyObject *) PySys_GetObject Py_PROTO((char *));
-DL_IMPORT(int) PySys_SetObject Py_PROTO((char *, PyObject *));
-DL_IMPORT(FILE *) PySys_GetFile Py_PROTO((char *, FILE *));
-DL_IMPORT(void) PySys_SetArgv Py_PROTO((int, char **));
-DL_IMPORT(void) PySys_SetPath Py_PROTO((char *));
+#ifndef Py_SYSMODULE_H
+#define Py_SYSMODULE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+DL_IMPORT(PyObject *) PySys_GetObject(char *);
+DL_IMPORT(int) PySys_SetObject(char *, PyObject *);
+DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);
+DL_IMPORT(void) PySys_SetArgv(int, char **);
+DL_IMPORT(void) PySys_SetPath(char *);
#ifdef HAVE_STDARG_PROTOTYPES
DL_IMPORT(void) PySys_WriteStdout(const char *format, ...);