summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2019-11-25 00:57:35 +0000
committerMichael Paquier2019-11-25 00:57:35 +0000
commit2aa84520b3508dda273b9bbffab7bf87f0d98bf8 (patch)
tree7d6491d5c236c3301855d60e0b09b4f5d720ff9d
parent4cb658af70027c3544fb843d77b2e84028762747 (diff)
Fix inconsistent variable name in static function of mac8.c
Both argument names were reversed in the declaration of the function. Author: Ranier Vilela Discussion: https://postgr.es/m/MN2PR18MB292755AEFF9A9144B220ABEEE34B0@MN2PR18MB2927.namprd18.prod.outlook.com
-rw-r--r--src/backend/utils/adt/mac8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/mac8.c b/src/backend/utils/adt/mac8.c
index 0b1fe4978ea..46dec46c62e 100644
--- a/src/backend/utils/adt/mac8.c
+++ b/src/backend/utils/adt/mac8.c
@@ -35,7 +35,7 @@
#define lobits(addr) \
((unsigned long)(((addr)->e<<24) | ((addr)->f<<16) | ((addr)->g<<8) | ((addr)->h)))
-static unsigned char hex2_to_uchar(const unsigned char *str, const unsigned char *ptr);
+static unsigned char hex2_to_uchar(const unsigned char *ptr, const unsigned char *str);
static const signed char hexlookup[128] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,