From a17730d630da124b27be7af5fb9496d602645c32 Mon Sep 17 00:00:00 2001 From: Ethan Sommer Date: Thu, 28 May 2020 21:52:23 -0400 Subject: remove unneeded ; after GLOBALS --- toys/net/netstat.c | 2 +- toys/pending/dd.c | 2 +- toys/pending/dhcpd.c | 2 +- toys/posix/env.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'toys') diff --git a/toys/net/netstat.c b/toys/net/netstat.c index 16907e21..65a1105e 100644 --- a/toys/net/netstat.c +++ b/toys/net/netstat.c @@ -34,7 +34,7 @@ config NETSTAT GLOBALS( struct num_cache *inodes; int wpad; -); +) // convert address into text format. static void addr2str(int af, void *addr, unsigned port, char *buf, int len, diff --git a/toys/pending/dd.c b/toys/pending/dd.c index 5b624fd7..7de91825 100644 --- a/toys/pending/dd.c +++ b/toys/pending/dd.c @@ -59,7 +59,7 @@ GLOBALS( unsigned long long offset; } in, out; unsigned conv, iflag, oflag; -); +) struct dd_flag { char *name; diff --git a/toys/pending/dhcpd.c b/toys/pending/dhcpd.c index 8c5ad3df..4e79ca06 100644 --- a/toys/pending/dhcpd.c +++ b/toys/pending/dhcpd.c @@ -125,7 +125,7 @@ config DEBUG_DHCP GLOBALS( char *iface; long port; -); +) struct config_keyword { char *keyword; diff --git a/toys/posix/env.c b/toys/posix/env.c index 73c8951a..7b944f07 100644 --- a/toys/posix/env.c +++ b/toys/posix/env.c @@ -26,7 +26,7 @@ config ENV GLOBALS( struct arg_list *u; -); +) void env_main(void) { -- cgit v1.2.3