Fix -Wmissing-variable-declarations warnings for float.c special case
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Jul 2024 04:21:40 +0000 (06:21 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 25 Jul 2024 08:40:04 +0000 (10:40 +0200)
commit37c6923cf3d8ec1bd44924aab6f58f72754a0e7b
tree24050fbad7c57db7a295402aa9d61418a307ca33
parentab61c40bfa2ba1887fee304b2ef5306a14a7248c
Fix -Wmissing-variable-declarations warnings for float.c special case

This adds extern declarations for the global variables defined in
float.c but not meant for external use.  This is a workaround to be
able to add -Wmissing-variable-declarations to the global set of
warning options in the near future.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
src/backend/utils/adt/float.c