fold in patch to sudo.pam to fix ldap usage, closing 607199
[debian/sudo] / zero_bytes.c
index 00d873c2bbb48704f97eef1826ee64a8d2f3e63f..7391780aa0c9a938a771455f54e89a02a7db968e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2001 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 2003-2005, 2007 Todd C. Miller <Todd.Miller@courtesan.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
 
 #include <sys/types.h>
 
-#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 <config.h>
+#include <compat.h>
 
 /*
  * 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;