X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=alloc.c;h=8e6a7e2623af006a7d6e8d7ca226934d130777cc;hb=d2bea82818b233f7b68ae4263c3c0c5f8abd7ac9;hp=c2405bf1c69d2578cd08351f90e4c1ccd1464eee;hpb=06a67e2a5850f36c627b46f330c988e031536ab3;p=debian%2Fsudo diff --git a/alloc.c b/alloc.c index c2405bf..8e6a7e2 100644 --- a/alloc.c +++ b/alloc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2005, 2007 + * Copyright (c) 1999-2005, 2007, 2010 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -34,10 +34,9 @@ #endif /* STDC_HEADERS */ #ifdef HAVE_STRING_H # include -#else -# ifdef HAVE_STRINGS_H -# include -# endif +#endif /* HAVE_STRING_H */ +#ifdef HAVE_STRINGS_H +# include #endif /* HAVE_STRING_H */ #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS) # include @@ -48,10 +47,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo: alloc.c,v 1.33 2008/11/09 14:13:12 millert Exp $"; -#endif /* lint */ - /* * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t * could be signed (as it is on SunOS 4.x). This just means that