sdhcp

simple dhcp client
git clone git://git.2f30.org/sdhcp
Log | Files | Refs | LICENSE

commit 8455fd2d090bd9b227340c30c92c6aa13302c91a
parent 9cd8b81473192dc0bc5476fba506d0ee995f6494
Author: sin <sin@2f30.org>
Date:   Thu, 22 Nov 2018 12:13:48 +0000

Statify some variables

Diffstat:
Msdhcp.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdhcp.c b/sdhcp.c @@ -84,8 +84,8 @@ enum { enum { Broadcast, Unicast }; -Bootp bp; -unsigned char magic[] = { 99, 130, 83, 99 }; +static Bootp bp; +static unsigned char magic[] = { 99, 130, 83, 99 }; /* conf */ static unsigned char xid[sizeof(bp.xid)];