X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=goodpath.c;h=197131427373c4af33155d3e4d7dabe2c727e0ef;hb=4caa124853fc7152ada5797144498078861086c2;hp=1529404555b4e53e5fed91e6c2a627de102b74ef;hpb=812709a155f4e8ca2a6b6070bad027a372835857;p=debian%2Fsudo diff --git a/goodpath.c b/goodpath.c index 1529404..1971314 100644 --- a/goodpath.c +++ b/goodpath.c @@ -1,5 +1,6 @@ /* - * Copyright (c) 1996, 1998-2005 Todd C. Miller + * Copyright (c) 1996, 1998-2005, 2010 + * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -26,11 +27,10 @@ #include #ifdef HAVE_STRING_H # include -#else -# ifdef HAVE_STRINGS_H -# include -# endif #endif /* HAVE_STRING_H */ +#ifdef HAVE_STRINGS_H +# include +#endif /* HAVE_STRINGS_H */ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ @@ -38,10 +38,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo: goodpath.c,v 1.44 2005/02/12 22:56:06 millert Exp $"; -#endif /* lint */ - /* * Verify that path is a normal file and executable by root. */