X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=zero_bytes.c;h=7391780aa0c9a938a771455f54e89a02a7db968e;hb=1f8d5257b587e3cbe9706ec336fcd48ed9f2d6f4;hp=00d873c2bbb48704f97eef1826ee64a8d2f3e63f;hpb=c2b0b328d4a66431e671fb26b47997033feb5e29;p=debian%2Fsudo diff --git a/zero_bytes.c b/zero_bytes.c index 00d873c..7391780 100644 --- a/zero_bytes.c +++ b/zero_bytes.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2001 Todd C. Miller + * Copyright (c) 2003-2005, 2007 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 @@ -16,11 +16,8 @@ #include -#include "config.h" - -#ifndef lint -static const char rcsid[] = "$Sudo: zero_bytes.c,v 1.2 2004/02/13 21:36:44 millert Exp $"; -#endif /* lint */ +#include +#include /* * Like bzero(3) but with a volatile pointer. The hope is that @@ -28,7 +25,7 @@ static const char rcsid[] = "$Sudo: zero_bytes.c,v 1.2 2004/02/13 21:36:44 mille */ void zero_bytes(v, n) - volatile VOID *v; + volatile void *v; size_t n; { volatile char *p, *ep;