Fix inconsistent variable name in static function of mac8.c
authorMichael Paquier <michael@paquier.xyz>
Mon, 25 Nov 2019 00:57:35 +0000 (09:57 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 25 Nov 2019 00:57:35 +0000 (09:57 +0900)
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

src/backend/utils/adt/mac8.c

index 0b1fe4978ea809bce38640de1cb13c0622f34cd8..46dec46c62e6acba78c5a458ca65477a7c6e535b 100644 (file)
@@ -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,