Make 'dummy' declarations in header files be 'extern int no_such_variable'

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6c06bc2644a7684edd062f46c8a1bb7c610a9359
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-10-18T20:33:57Z
Releases: 7.3.1
Make 'dummy' declarations in header files be 'extern int no_such_variable'
instead of 'extern int errno'; the latter is unsafe according to the
ANSI C standard, as well as in practice on some platforms.

Files

PathChange+/−
src/include/catalog/indexing.h modified +3 −3
src/include/postgres.h modified +3 −3
src/pl/plperl/ppport.h modified +1 −5