summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-07-06 05:36:40 +0200
committerDan McGee <dan@archlinux.org>2011-07-06 05:36:40 +0200
commit1d53dd716d7c7bea297a532809c4557b805a9918 (patch)
tree2a74e8285b745d45a8133c93f8f0d8a92c0b8ea7 /lib/libalpm
parentb678e002714b732d7ea6a48029ac1a5b285d04e5 (diff)
downloadpacman-1d53dd716d7c7bea297a532809c4557b805a9918.tar.gz
pacman-1d53dd716d7c7bea297a532809c4557b805a9918.tar.xz
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.c2
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)