X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxreadlink.h;h=d9441215f3350b3145d419c377d6bef4039eef5c;hb=11a85c350e8b872d617843487e1c77ea157880be;hp=4fe13ab9a57ff16a9da14f0a55ebe7cce149035d;hpb=7d7fb7355d5c231ef7b954d5f28f550efa16eaf5;p=gnulib.git diff --git a/lib/xreadlink.h b/lib/xreadlink.h index 4fe13ab9a..d9441215f 100644 --- a/lib/xreadlink.h +++ b/lib/xreadlink.h @@ -1,9 +1,22 @@ -#ifndef PARAMS -# if defined PROTOTYPES || (defined __STDC__ && __STDC__) -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -#endif - -char *xreadlink PARAMS ((char const *, size_t *)); +/* readlink wrapper to return the link name in malloc'd storage + + Copyright (C) 2001, 2003 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 + the Free Software Foundation; either version 2, 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 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. + If not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +/* Written by Jim Meyering */ + +char *xreadlink (char const *);