diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/port.h | 4 | ||||
-rw-r--r-- | src/include/utils/builtins.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/include/port.h b/src/include/port.h index 204876888ac..0cfbed83d45 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -437,4 +437,8 @@ extern void qsort_arg(void *base, size_t nel, size_t elsize, /* port/chklocale.c */ extern int pg_get_encoding_from_locale(const char *ctype); +/* port/inet_net_ntop.c */ +extern char *inet_net_ntop(int af, const void *src, int bits, + char *dst, size_t size); + #endif /* PG_PORT_H */ diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index bad0a8ebdf2..a2fb7494cb4 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -795,9 +795,7 @@ extern Datum chr (PG_FUNCTION_ARGS); extern Datum repeat(PG_FUNCTION_ARGS); extern Datum ascii(PG_FUNCTION_ARGS); -/* inet_net_ntop.c */ -extern char *inet_net_ntop(int af, const void *src, int bits, - char *dst, size_t size); +/* inet_cidr_ntop.c */ extern char *inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size); |