Create a new section of pyport.h to hold all external function declarations
Thomas Wouters authored
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.
1e0c2f4b
Name Last commit Last update
..
.cvsignore Ignore a bunch of generated files.
Makefile.in Added exceptions.o to the list of object to build in this subdir.
atof.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
bltinmodule.c Another missed ansification.
ceval.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
codecs.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
compile.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
dup2.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
dynload_aix.c ANSIfy as many declarations as possible.
dynload_beos.c Change copyright notice - 2nd try.
dynload_dl.c ANSIfy as many declarations as possible.
dynload_hpux.c Change copyright notice - 2nd try.
dynload_mac.c delete obsolete SYMANTEC__CFM68K__ #ifdefs
dynload_next.c Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
dynload_os2.c Change copyright notice - 2nd try.
dynload_shlib.c Change copyright notice - 2nd try.
dynload_stub.c Change copyright notice - 2nd try.
dynload_win.c Change copyright notice - 2nd try.
errors.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
exceptions.c Fix two instances of empty argument lists, and fix style
fmod.c Change copyright notice - 2nd try.
frozen.c Change copyright notice - 2nd try.
frozenmain.c ANSIfy as many declarations as possible.
getargs.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
getcompiler.c Mass ANSIfication of function definitions. Doesn't cover all 'extern'
getcopyright.c
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c
importdl.c
importdl.h
marshal.c
memmove.c
modsupport.c
mystrtoul.c
pyfpe.c
pystate.c
pythonmain.c
pythonrun.c
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c
sysmodule.c
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c