postgresql/src/backend/port
Tom Lane 9e3755ecb2 Remove useless duplicate inclusions of system header files.
c.h #includes a number of core libc header files, such as <stdio.h>.
There's no point in re-including these after having read postgres.h,
postgres_fe.h, or c.h; so remove code that did so.

While at it, also fix some places that were ignoring our standard pattern
of "include postgres[_fe].h, then system header files, then other Postgres
header files".  While there's not any great magic in doing it that way
rather than system headers last, it's silly to have just a few files
deviating from the general pattern.  (But I didn't attempt to enforce this
globally, only in files I was touching anyway.)

I'd be the first to say that this is mostly compulsive neatnik-ism,
but over time it might save enough compile cycles to be useful.
2017-02-25 16:12:55 -05:00
..
aix Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
dynloader Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
hpux Redefine Datum as uintptr_t, instead of unsigned long. 2009-12-31 19:41:37 +00:00
tas Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
win32 Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
.gitignore Combine win32 and unix latch implementations. 2016-03-21 11:03:26 +01:00
atomics.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
Makefile Remove obsolete replacement system() on darwin 2016-08-18 12:00:00 -04:00
posix_sema.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sysv_sema.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sysv_shmem.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
win32_sema.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
win32_shmem.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00