Fix link error on Solaris.
authorBruno Haible <bruno@clisp.org>
Thu, 27 Aug 2009 07:08:17 +0000 (09:08 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 27 Aug 2009 07:08:17 +0000 (09:08 +0200)
ChangeLog
tests/test-parse-duration.c

index fb7d7dd..aa562e0 100644 (file)
--- 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
index 12ba91e..f7d81f1 100644 (file)
@@ -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
 
 #include "parse-duration.h"
 
-char *
-xstrdup(char const * p)
-{
-  return strdup (p);
-}
-
 int
 main (int argc, char *argv[])
 {