X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=goodpath.c;h=197131427373c4af33155d3e4d7dabe2c727e0ef;hb=d7751e8b58b26f298b57d31ae87386e685eb8c14;hp=1529404555b4e53e5fed91e6c2a627de102b74ef;hpb=06a67e2a5850f36c627b46f330c988e031536ab3;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. */