diff options
author | 2013-04-17 17:39:29 +0000 | |
---|---|---|
committer | 2013-04-17 17:39:29 +0000 | |
commit | 2be36617bb6be3f60e44cb636fdb1fa78531d399 (patch) | |
tree | 368c866377d5c958c50b0fc4fe319d8dbdeb6f92 /lib/libc/regex/regfree.c | |
parent | pretty (diff) | |
download | wireguard-openbsd-2be36617bb6be3f60e44cb636fdb1fa78531d399.tar.xz wireguard-openbsd-2be36617bb6be3f60e44cb636fdb1fa78531d399.zip |
silence some warnings by adding prototypes, casts, and headers as
appropriate. in regex, stop using the struct hack for a fixed size array
Diffstat (limited to 'lib/libc/regex/regfree.c')
-rw-r--r-- | lib/libc/regex/regfree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/regex/regfree.c b/lib/libc/regex/regfree.c index a57eba3c1f0..42506cec7fc 100644 --- a/lib/libc/regex/regfree.c +++ b/lib/libc/regex/regfree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: regfree.c,v 1.7 2005/08/05 13:03:00 espie Exp $ */ +/* $OpenBSD: regfree.c,v 1.8 2013/04/17 17:39:29 tedu Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 Henry Spencer. * Copyright (c) 1992, 1993, 1994 @@ -38,6 +38,7 @@ #include <stdio.h> #include <stdlib.h> #include <regex.h> +#include <limits.h> #include "utils.h" #include "regex2.h" |