summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndiscvt/ndiscvt.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 11:05:34 +0000
committered <ed@FreeBSD.org>2010-01-02 11:05:34 +0000
commitec19ea84b8117fa04d9e5cf9d8945e0bacc2596e (patch)
tree6af957c7a5ebcb33410c42b9f932f4bb50d4645e /usr.sbin/ndiscvt/ndiscvt.c
parent9b380e30d4e06cf0243e311871dc27cfa4a6354a (diff)
downloadFreeBSD-src-ec19ea84b8117fa04d9e5cf9d8945e0bacc2596e.zip
FreeBSD-src-ec19ea84b8117fa04d9e5cf9d8945e0bacc2596e.tar.gz
ANSIfy some more tools in usr.sbin/.
Most of these tools build with WARNS=6, except for their use of K&R function declarations.
Diffstat (limited to 'usr.sbin/ndiscvt/ndiscvt.c')
-rw-r--r--usr.sbin/ndiscvt/ndiscvt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ndiscvt/ndiscvt.c b/usr.sbin/ndiscvt/ndiscvt.c
index 34d3120..5de7519 100644
--- a/usr.sbin/ndiscvt/ndiscvt.c
+++ b/usr.sbin/ndiscvt/ndiscvt.c
@@ -91,10 +91,8 @@ extern const char *__progname;
nt_hdr = (image_nt_header *)(x + dos_hdr->idh_lfanew); \
sect_hdr = IMAGE_FIRST_SECTION(nt_hdr);
-static
-int insert_padding(imgbase, imglen)
- void **imgbase;
- int *imglen;
+static int
+insert_padding(void **imgbase, int *imglen)
{
image_section_header *sect_hdr;
image_dos_header *dos_hdr;
OpenPOWER on IntegriCloud