[Reproducible-commits] [dpkg] 38/61: s-s-d: Remove now unused xstrdup() function
Jérémy Bobbio
lunar at moszumanska.debian.org
Mon Sep 21 09:57:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit c7413c2c4fd3db02bc6aa9c5513b8490faea63d4
Author: Guillem Jover <guillem at debian.org>
Date: Tue Sep 15 20:59:50 2015 +0200
s-s-d: Remove now unused xstrdup() function
Warned-by: gcc
---
utils/start-stop-daemon.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c
index 6d74feb..0f4c326 100644
--- a/utils/start-stop-daemon.c
+++ b/utils/start-stop-daemon.c
@@ -297,17 +297,6 @@ xmalloc(int size)
}
static char *
-xstrdup(const char *str)
-{
- char *new_str;
-
- new_str = strdup(str);
- if (new_str)
- return new_str;
- fatal("strdup(%s) failed", str);
-}
-
-static char *
xstrndup(const char *str, size_t n)
{
char *new_str;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list