diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-24 16:06:23 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-24 16:06:23 +0000 |
commit | 27cec46bfa891f52f58e9ba3a5e015777d049835 (patch) | |
tree | 43f95ada3a35ebe5a7af54d84ddc76691f9eafe6 /Python/sysmodule.c | |
parent | c5270b00de54c4d41fff9e8c60c61160bfffd310 (diff) | |
download | cpython-27cec46bfa891f52f58e9ba3a5e015777d049835.tar.gz |
Create a new section of pyport.h to hold all external function declarations
for systems that are missing those declarations from system include files.
Start by moving a pointy-haired ones from their previous locations to the
new section.
(The gethostname() one, for instance, breaks on several systems, because
some define it as (char *, size_t) and some as (char *, int).)
I purposely decided not to include the summary of used #defines like Tim did
in the first section of pyport.h. In my opinion, the number of #defines
likedly to be used by this section would make such an overview unwieldy. I
would suggest documenting the non-obvious ones, though.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 85118f8f0f..8883ba1d87 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -385,7 +385,6 @@ settrace() -- set the global debug tracing function\n\ PyObject * _PySys_Init(void) { - extern int fclose(FILE *); PyObject *m, *v, *sysdict; PyObject *sysin, *sysout, *syserr; char *s; |