diff options
author | 2004-08-07 00:38:32 +0000 | |
---|---|---|
committer | 2004-08-07 00:38:32 +0000 | |
commit | a26aa41994e8a6961f009870b31f84fec938f9c8 (patch) | |
tree | b69a5bc2e1eeaca538d3783d02cfd53f88cb19db /sys/lib/libkern/lmax.c | |
parent | sync (diff) | |
download | wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.tar.xz wireguard-openbsd-a26aa41994e8a6961f009870b31f84fec938f9c8.zip |
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/lmax.c')
-rw-r--r-- | sys/lib/libkern/lmax.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/lib/libkern/lmax.c b/sys/lib/libkern/lmax.c index 9e56289ba3e..97d34ba6086 100644 --- a/sys/lib/libkern/lmax.c +++ b/sys/lib/libkern/lmax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lmax.c,v 1.3 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: lmax.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */ /* $NetBSD: lmax.c,v 1.3 1996/03/14 18:52:09 christos Exp $ */ /* @@ -36,8 +36,7 @@ #include <lib/libkern/libkern.h> long -lmax(a, b) - long a, b; +lmax(long a, long b) { return (a > b ? a : b); } |