X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxgetcwd.h;h=18685f636b0fbde7485707b9e66d6d55c1d408a9;hb=4662b82a3d9015359bb7a75bc95ecf2f57f841e1;hp=2f6df8a6dbded7d065d4918e40eb13010c10cb6e;hpb=8c60a675a2bf363ca1d6a1cb1889440f89bc572c;p=gnulib.git diff --git a/lib/xgetcwd.h b/lib/xgetcwd.h index 2f6df8a6d..18685f636 100644 --- a/lib/xgetcwd.h +++ b/lib/xgetcwd.h @@ -1,10 +1,10 @@ -/* xgetcwd -- return current directory with unlimited length - Copyright (C) 1995, 2001 Free Software Foundation, Inc. +/* prototype for xgetcwd + Copyright (C) 1995, 2001, 2003, 2009-2011 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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 - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,16 +12,6 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(args) args -# else -# define PARAMS(args) () -# endif -#endif - -/* Wrapper function with error checking for standard function. */ -extern char *xgetcwd PARAMS ((void)); +extern char *xgetcwd (void);