2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI.

This commit is contained in:
Ted Lemon
1998-03-16 06:16:54 +00:00
parent af5662874e
commit 15c1fd2cd8
4 changed files with 12 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
DHCP/BOOTP Relay Agent. */
/*
* Copyright (c) 1997 The Internet Software Consortium.
* Copyright (c) 1997, 1998 The Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
"$Id: dhcrelay.c,v 1.11 1998/03/15 21:07:11 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
"$Id: dhcrelay.c,v 1.12 1998/03/16 06:16:54 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -229,7 +229,7 @@ void relay (ip, packbuf, length, from_port, from, hfrom)
struct interface_info *ip;
u_int8_t *packbuf;
int length;
u_int16_t from_port;
unsigned int from_port;
struct iaddr from;
struct hardware *hfrom;
{