# HG changeset patch # User Bruno Haible # Date 1251356897 -7200 # Node ID c80217bd6ec0b4716e2be7afffe13c935becec9c # Parent 7848aae2799c5b1d174a58e008b313901b4b8c17 Fix link error on Solaris. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-27 Bruno Haible + + Fix link error on Solaris. + * tests/test-parse-duration.c (xstrdup): Remove function. + 2009-08-26 Pádraig Brady ignore-value: handle pointer types, too diff --git a/tests/test-parse-duration.c b/tests/test-parse-duration.c --- 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[]) {