Make 'dummy' declarations in header files be 'extern int no_such_variable'
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/indexing.h | modified | +3 −3 |
| src/include/postgres.h | modified | +3 −3 |
| src/pl/plperl/ppport.h | modified | +1 −5 |