changeset 11905:c80217bd6ec0

Fix link error on Solaris.
author Bruno Haible <bruno@clisp.org>
date Thu, 27 Aug 2009 09:08:17 +0200
parents 7848aae2799c
children 6b25bda86ddb
files ChangeLog tests/test-parse-duration.c
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-27  Bruno Haible  <bruno@clisp.org>
+
+	Fix link error on Solaris.
+	* tests/test-parse-duration.c (xstrdup): Remove function.
+
 2009-08-26  Pádraig Brady  <P@draigbrady.com>
 
 	ignore-value: handle pointer types, too
--- a/tests/test-parse-duration.c
+++ b/tests/test-parse-duration.c
@@ -1,5 +1,5 @@
 /* Test of parsing durations.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -25,12 +25,6 @@
 
 #include "parse-duration.h"
 
-char *
-xstrdup(char const * p)
-{
-  return strdup (p);
-}
-
 int
 main (int argc, char *argv[])
 {