diff options
author | David Rowley <drowley@postgresql.org> | 2020-06-13 11:27:25 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2020-06-13 11:27:25 +1200 |
commit | 9a7fccd9eac85726ced3f3794a743eeab447f334 (patch) | |
tree | d89b38363f683e28aa48e8f01ffe65e99223ac26 /src/backend/utils/adt/numutils.c | |
parent | 2f48ede080f42b97b594fb14102c82ca1001b80c (diff) | |
download | postgresql-9a7fccd9eac85726ced3f3794a743eeab447f334.tar.gz postgresql-9a7fccd9eac85726ced3f3794a743eeab447f334.zip |
Add missing extern keyword for a couple of numutils functions
In passing, also remove a few surplus empty lines from pg_ltoa and
pg_ulltoa_n in numutils.c
Reported-by: Andrew Gierth
Discussion: https://postgr.es/m/87y2ou3xuh.fsf@news-spur.riddles.org.uk
Backpatch-through: 13, where these changes were introduced
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
-rw-r--r-- | src/backend/utils/adt/numutils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/utils/adt/numutils.c b/src/backend/utils/adt/numutils.c index 13877fdc1d1..a9d3fbf758f 100644 --- a/src/backend/utils/adt/numutils.c +++ b/src/backend/utils/adt/numutils.c @@ -413,7 +413,6 @@ pg_ultoa_n(uint32 value, char *a) void pg_ltoa(int32 value, char *a) { - uint32 uvalue = (uint32) value; int len; @@ -437,7 +436,6 @@ pg_ulltoa_n(uint64 value, char *a) i = 0; uint32 value2; - /* Degenerate case */ if (value == 0) { |