aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistold.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-09-08 10:09:56 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-09-08 10:09:56 +0200
commit69fdf3d2e987cb5543f00a945cffbf6e422d5868 (patch)
tree1576303fc4541adb262a657fdb98fcd1348387aa /src/backend/access/gist/gistold.c
parente0b4c7dd0b61461da8e4a74a98326e4b591fd575 (diff)
downloadpostgresql-69fdf3d2e987cb5543f00a945cffbf6e422d5868.tar.gz
postgresql-69fdf3d2e987cb5543f00a945cffbf6e422d5868.zip
Use return instead of exit() in configure
Using exit() requires stdlib.h, which is not included. Use return instead. Also add return type for main(). Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com> Backpatched because Apple macOS 10.16/11 (Big Sur) compiler makes calling undeclared functions an error, so these configure tests would fail. Reported-by: Thomas Gilligan <thomas.gilligan@icloud.com> Reported-by: Jesse Zhang <sbjesse@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/09A4B554-82B1-4536-B191-2461342EE0BB%40icloud.com
Diffstat (limited to 'src/backend/access/gist/gistold.c')
0 files changed, 0 insertions, 0 deletions