X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftrim.c;h=c8b0c7fe49eebcbb5f0e46c109f9f3b3944de082;hb=7c59efd8bc7abb8c79ae969a65ece95e68c9be4c;hp=51f24142479c5fefc4eb7c848d6912854d1f01a2;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/trim.c b/lib/trim.c index 51f241424..c8b0c7fe4 100644 --- a/lib/trim.c +++ b/lib/trim.c @@ -1,5 +1,5 @@ /* Removes leading and/or trailing whitespaces - Copyright (C) 2006-2009 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) {