diff options
author | Fred Drake <fdrake@acm.org> | 2000-07-09 00:55:06 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-07-09 00:55:06 (GMT) |
commit | 3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec (patch) | |
tree | f4ad8a294b76cbf0f43823163a2eac21be7334c6 /Include/sysmodule.h | |
parent | ea9cb5aebf38741871ad4f28971dcd23ddd77ad2 (diff) | |
download | cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.zip cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.gz cpython-3cf4d2b3ea93eee40d34b1ae4845497d0cd3fcec.tar.bz2 |
ANSI-fication and Py_PROTO extermination.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 2dee530..e208fc3 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, ...); |