X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fuserspec.c;h=2ceb76321ef501ef154943c699d1150467aa1609;hb=3ec28ba4f3c84ef294f14c8a7cff3c9e934c4944;hp=d08ed07165e7e929b5e1a2b894b041de0641911d;hpb=6d8337bfc808cddc275899c03482eceb6aff8547;p=gnulib.git diff --git a/lib/userspec.c b/lib/userspec.c index d08ed0716..2ceb76321 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -1,5 +1,5 @@ /* userspec.c -- Parse a user and group string. - Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1989, 1990, 1991, 1992, 1997 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 @@ -16,9 +16,9 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Written by David MacKenzie . */ - -#ifdef HAVE_CONFIG_H -#include + +#if HAVE_CONFIG_H +# include #endif #ifdef __GNUC__ @@ -28,7 +28,7 @@ # include # else # ifdef _AIX - #pragma alloca + # pragma alloca # else char *alloca (); # endif @@ -40,7 +40,7 @@ char *alloca (); #include #include -#ifdef HAVE_STRING_H +#if HAVE_STRING_H # include #else # include @@ -49,11 +49,11 @@ char *alloca (); # endif #endif -#ifdef STDC_HEADERS +#if STDC_HEADERS # include #endif -#ifdef HAVE_UNISTD_H +#if HAVE_UNISTD_H # include #endif @@ -247,7 +247,7 @@ parse_user_spec (spec_arg, uid, gid, username_arg, groupname_arg) #ifdef TEST -#define NULL_CHECK(s) ((s) == NULL ? "(null)" : (s)) +# define NULL_CHECK(s) ((s) == NULL ? "(null)" : (s)) int main (int argc, char **argv)