summaryrefslogtreecommitdiffstats
path: root/Include/marshal.h
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-08 23:37:28 (GMT)
committerFred Drake <fdrake@acm.org>2000-07-08 23:37:28 (GMT)
commit5eb6d4e3bf094c33ae66432eeae3668e220dd28d (patch)
tree2a69e01bee2bbf196f8432b639cc8985431ec7e4 /Include/marshal.h
parentff7df9d7b8b6ad7e73fe54cdf02b9ab6386ff355 (diff)
downloadcpython-5eb6d4e3bf094c33ae66432eeae3668e220dd28d.zip
cpython-5eb6d4e3bf094c33ae66432eeae3668e220dd28d.tar.gz
cpython-5eb6d4e3bf094c33ae66432eeae3668e220dd28d.tar.bz2
ANSI-fication and Py_PROTO extermination.
Diffstat (limited to 'Include/marshal.h')
-rw-r--r--Include/marshal.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/Include/marshal.h b/Include/marshal.h
index d9498a7..98bd523 100644
--- a/Include/marshal.h
+++ b/Include/marshal.h
@@ -1,9 +1,3 @@
-#ifndef Py_MARSHAL_H
-#define Py_MARSHAL_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/***********************************************************
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
@@ -16,15 +10,21 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Interface for marshal.c */
-DL_IMPORT(void) PyMarshal_WriteLongToFile Py_PROTO((long, FILE *));
-DL_IMPORT(void) PyMarshal_WriteShortToFile Py_PROTO((int, FILE *));
-DL_IMPORT(void) PyMarshal_WriteObjectToFile Py_PROTO((PyObject *, FILE *));
-DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString Py_PROTO((PyObject *));
+#ifndef Py_MARSHAL_H
+#define Py_MARSHAL_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *);
+DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *);
+DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
+DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
-DL_IMPORT(long) PyMarshal_ReadLongFromFile Py_PROTO((FILE *));
-DL_IMPORT(int) PyMarshal_ReadShortFromFile Py_PROTO((FILE *));
-DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile Py_PROTO((FILE *));
-DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString Py_PROTO((char *, int));
+DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
+DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
+DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
+DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);
#ifdef __cplusplus
}