Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 5863:0ac2c747053f legacy-trunk
Removed a bunch of extern declarations of functions that are now
properly declared in Python.h.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 19 Jul 1997 19:51:43 +0000 |
| parents | 1f206c91daee |
| children | 8d2194e22e67 |
comparison
equal
deleted
inserted
replaced
| 5862:4dbb4ec44d15 | 5863:0ac2c747053f |
|---|---|
| 272 } | 272 } |
| 273 | 273 |
| 274 void | 274 void |
| 275 PySys_Init() | 275 PySys_Init() |
| 276 { | 276 { |
| 277 extern long PyInt_GetMax Py_PROTO((void)); | |
| 278 extern char *Py_GetVersion Py_PROTO((void)); | |
| 279 extern char *Py_GetCopyright Py_PROTO((void)); | |
| 280 extern char *Py_GetPlatform Py_PROTO((void)); | |
| 281 extern char *Py_GetProgramFullPath Py_PROTO((void)); | |
| 282 extern char *Py_GetPrefix Py_PROTO((void)); | |
| 283 extern char *Py_GetExecPrefix Py_PROTO((void)); | |
| 284 extern int fclose Py_PROTO((FILE *)); | 277 extern int fclose Py_PROTO((FILE *)); |
| 285 PyObject *m = Py_InitModule("sys", sys_methods); | 278 PyObject *m = Py_InitModule("sys", sys_methods); |
| 286 PyObject *v; | 279 PyObject *v; |
| 287 sysdict = PyModule_GetDict(m); | 280 sysdict = PyModule_GetDict(m); |
| 288 Py_INCREF(sysdict); | 281 Py_INCREF(sysdict); |
