X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ftrim.c;h=c8b0c7fe49eebcbb5f0e46c109f9f3b3944de082;hb=7c59efd8bc7abb8c79ae969a65ece95e68c9be4c;hp=6824200fabb96add20dca435ed39127dede33aa6;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/trim.c b/lib/trim.c index 6824200fa..c8b0c7fe4 100644 --- a/lib/trim.c +++ b/lib/trim.c @@ -1,5 +1,5 @@ /* Removes leading and/or trailing whitespaces - Copyright (C) 2006-2008 Free Software Foundation, Inc. + Copyright (C) 2006-2010 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 @@ -38,14 +38,14 @@ #endif char * -trim2(const char *s, int how) +trim2 (const char *s, int how) { char *d; - d = strdup(s); + d = strdup (s); if (!d) - xalloc_die(); + xalloc_die (); if (MB_CUR_MAX > 1) {