2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Merge in changes that were needed in 3.1.0 to silence NetBSD compiler

warnings. [rt16907]
This commit is contained in:
Evan Hunt
2007-05-29 18:11:56 +00:00
parent 6ecda39c26
commit 804401cc8e
13 changed files with 36 additions and 33 deletions

View File

@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
"$Id: print.c,v 1.65 2007/05/19 19:16:24 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
"$Id: print.c,v 1.66 2007/05/29 18:11:55 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -44,7 +44,7 @@ int db_time_format = DEFAULT_TIME_FORMAT;
char *quotify_string (const char *s, const char *file, int line)
{
unsigned len = 0;
const char *sp;
const unsigned char *sp;
char *buf, *nsp;
for (sp = s; sp && *sp; sp++) {