summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/imax.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-08-07 00:38:32 +0000
committerderaadt <deraadt@openbsd.org>2004-08-07 00:38:32 +0000
commita26aa41994e8a6961f009870b31f84fec938f9c8 (patch)
treeb69a5bc2e1eeaca538d3783d02cfd53f88cb19db /sys/lib/libkern/imax.c
parentsync (diff)
downloadwireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.tar.xz
wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.zip
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/imax.c')
-rw-r--r--sys/lib/libkern/imax.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/lib/libkern/imax.c b/sys/lib/libkern/imax.c
index ea00a86b6de..57ec06d49d0 100644
--- a/sys/lib/libkern/imax.c
+++ b/sys/lib/libkern/imax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imax.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */
+/* $OpenBSD: imax.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */
/* $NetBSD: imax.c,v 1.3 1996/03/14 18:52:06 christos Exp $ */
/*
@@ -36,8 +36,7 @@
#include <lib/libkern/libkern.h>
int
-imax(a, b)
- int a, b;
+imax(int a, int b)
{
return (a > b ? a : b);
}