diff options
author | Dan McGee <dan@archlinux.org> | 2011-07-05 22:36:40 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-05 22:36:40 -0500 |
commit | 1d53dd716d7c7bea297a532809c4557b805a9918 (patch) | |
tree | 2a74e8285b745d45a8133c93f8f0d8a92c0b8ea7 /lib/libalpm | |
parent | b678e002714b732d7ea6a48029ac1a5b285d04e5 (diff) |
include util.h in rawstr.c
Fixes "error: no previous prototype for '_alpm_raw_cmp'
[-Werror=missing-prototypes]" warnings, and also prevents someone from
getting the prototypes and functions out of sync.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/rawstr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/rawstr.c b/lib/libalpm/rawstr.c index 69224cbc..86f4280c 100644 --- a/lib/libalpm/rawstr.c +++ b/lib/libalpm/rawstr.c @@ -27,6 +27,8 @@ #include <stdlib.h> +#include "util.h" + /* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because its behavior is altered by the current locale. */ static char raw_toupper(char in) |