1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Remove strdup, strtol, strtoul from libpgport

These should not be needed anymore, at least after the recent port
removals.  So let's see whether we can do without them.
This commit is contained in:
Peter Eisentraut
2012-05-07 23:10:28 +03:00
parent d7b2cd9d40
commit 3284e03d5d
8 changed files with 2 additions and 323 deletions

View File

@@ -408,10 +408,6 @@ extern double rint(double x);
extern int inet_aton(const char *cp, struct in_addr * addr);
#endif
#ifndef HAVE_STRDUP
extern char *strdup(const char *str);
#endif
#if !HAVE_DECL_STRLCAT
extern size_t strlcat(char *dst, const char *src, size_t siz);
#endif