summaryrefslogtreecommitdiff
path: root/omapip/trace.c
diff options
context:
space:
mode:
authorShane Kerr <shane@isc.org>2007-07-13 06:43:43 +0000
committerShane Kerr <shane@isc.org>2007-07-13 06:43:43 +0000
commit28868515f6cb8ec3a78773391945ac89d555d65d (patch)
tree108b4801b3d3d019278281eb276288271480afe3 /omapip/trace.c
parent763cba6b918975315a644646137fec48e4953058 (diff)
downloadisc-dhcp-28868515f6cb8ec3a78773391945ac89d555d65d.tar.gz
Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
Diffstat (limited to 'omapip/trace.c')
-rw-r--r--omapip/trace.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/omapip/trace.c b/omapip/trace.c
index 836faf9a..97e1bcf3 100644
--- a/omapip/trace.c
+++ b/omapip/trace.c
@@ -32,11 +32,6 @@
* learn more about Nominum, Inc., see ``http://www.nominum.com''.
*/
-#ifndef lint
-static char ocopyright[] =
-"$Id: trace.c,v 1.15 2007/05/19 19:16:26 dhankins Exp $ Copyright 2004-2007 Internet Systems Consortium.";
-#endif
-
#include "dhcpd.h"
#include <omapip/omapip_p.h>
#include <errno.h>
@@ -321,7 +316,7 @@ trace_type_t *trace_type_register (const char *name,
void (*stop_tracing) (trace_type_t *),
const char *file, int line)
{
- trace_type_t *ttmp, *tptr;
+ trace_type_t *ttmp;
unsigned slen = strlen (name);
isc_result_t status;
@@ -520,7 +515,6 @@ isc_result_t trace_get_next_packet (trace_type_t **ttp,
trace_type_t *ttype;
unsigned paylen;
int status;
- int len;
fpos_t curpos;
status = fgetpos (traceinfile, &curpos);
@@ -646,7 +640,6 @@ time_t trace_snoop_time (trace_type_t **ptp)
unsigned bufmax = 0;
unsigned buflen = 0;
char *buf = (char *)0;
- isc_result_t status;
time_t result;
trace_type_t *ttp;