X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fpath-concat.c;h=86579b7369fd7cce6b446e6920db45dabf10140a;hb=93627d90a57bd8190dc5adc94685b7e2d96d9312;hp=b0c18a8c54e301799a731199156405723cccdaf0;hpb=4a20d8d5cdee71fad81d63b7bb98304cee653d43;p=gnulib.git diff --git a/lib/path-concat.c b/lib/path-concat.c index b0c18a8c5..86579b736 100644 --- a/lib/path-concat.c +++ b/lib/path-concat.c @@ -1,5 +1,5 @@ /* path-concat.c -- concatenate two arbitrary pathnames - Copyright (C) 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998 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 @@ -17,7 +17,7 @@ /* Written by Jim Meyering. */ -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include #endif @@ -26,7 +26,7 @@ #endif #include -#ifdef HAVE_STRING_H +#if HAVE_STRING_H # include #endif #include @@ -42,10 +42,7 @@ char *malloc (); BASE in the returned concatenation. */ char * -path_concat (dir, base, base_in_result) - const char *dir; - const char *base; - char **base_in_result; +path_concat (const char *dir, const char *base, char **base_in_result) { char *p; char *p_concat;