From: Bruno Haible Date: Thu, 27 Aug 2009 07:08:17 +0000 (+0200) Subject: Fix link error on Solaris. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50e6714c9b0a30504151bcfcb3cbe46bda985792;p=pspp Fix link error on Solaris. --- diff --git a/ChangeLog b/ChangeLog index fb7d7dd1ed..aa562e0519 100644 --- 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 index 12ba91e508..f7d81f15df 100644 --- 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[]) {