diff options
author | Shane Kerr <shane@isc.org> | 2007-07-13 06:43:43 +0000 |
---|---|---|
committer | Shane Kerr <shane@isc.org> | 2007-07-13 06:43:43 +0000 |
commit | 28868515f6cb8ec3a78773391945ac89d555d65d (patch) | |
tree | 108b4801b3d3d019278281eb276288271480afe3 /omapip/alloc.c | |
parent | 763cba6b918975315a644646137fec48e4953058 (diff) | |
download | isc-dhcp-28868515f6cb8ec3a78773391945ac89d555d65d.tar.gz |
Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
Diffstat (limited to 'omapip/alloc.c')
-rw-r--r-- | omapip/alloc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/omapip/alloc.c b/omapip/alloc.c index a5d76f6e..4572633c 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -33,11 +33,6 @@ * ``http://www.nominum.com''. */ -#ifndef lint -static char copyright[] = -"$Id: alloc.c,v 1.28 2007/05/19 19:16:25 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium, Inc. All rights reserved.\n"; -#endif /* not lint */ - #include "dhcpd.h" #include <omapip/omapip_p.h> @@ -65,10 +60,10 @@ void * dmalloc(unsigned size, const char *file, int line) { unsigned char *foo; unsigned len; - int i; void **bar; #if defined (DEBUG_MEMORY_LEAKAGE) || defined (DEBUG_MALLOC_POOL) || \ defined (DEBUG_MEMORY_LEAKAGE_ON_EXIT) + int i; struct dmalloc_preamble *dp; #endif |