summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-05-04 13:28:00 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-05-04 14:11:22 +0300
commit610209ecb4bfe8127a2557e29c08719ffc007c0d (patch)
tree54e2c214e7f005b63cc28691c7b59efd4302a7e7 /system.h
parentf7ffa9cbf7c1c7cb22b813699ee14cd72f6f8f11 (diff)
downloadrpm-610209ecb4bfe8127a2557e29c08719ffc007c0d.tar.gz
Drop now redundant bundled copies of stpcpy() and stpncpy()
stpcpy() and stpncpy() got added to POSIX-1.2008 (surprisingly if you ask me), and as that's the version we require now since commit 96ec957e281220f8e137a2d5eb23b83a6377d556, we don't need to carry this dusty stuff (only touched once since -98...)
Diffstat (limited to 'system.h')
-rw-r--r--system.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/system.h b/system.h
index 461712a0a..afdfdbf6e 100644
--- a/system.h
+++ b/system.h
@@ -29,14 +29,6 @@ extern char ** environ;
#endif
#endif
-#if !defined(HAVE_STPCPY)
-char * stpcpy(char * dest, const char * src);
-#endif
-
-#if !defined(HAVE_STPNCPY)
-char * stpncpy(char * dest, const char * src, size_t n);
-#endif
-
#if HAVE_SECURE_GETENV
#define getenv(_s) secure_getenv(_s)
#elif HAVE___SECURE_GETENV