From 039e6d9ee4ea4a327b5c2630bf94508de8c17d62 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Mon, 13 Mar 2006 20:34:47 +0000 Subject: - removed pacman.h - removed unuseful extern declarations - set pacman.c internal functions as static --- src/pacman/util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 3cce4d3d..96b38736 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -21,6 +21,8 @@ #ifndef _PM_UTIL_H #define _PM_UTIL_H +#include "list.h" + #define MALLOC(p, b) do { \ if((b) > 0) { \ p = malloc(b); \ @@ -43,8 +45,9 @@ int makepath(char *path); int rmrf(char *path); void indentprint(char *str, int indent); -char *strtrim(char *str); +char *buildstring(list_t *strlist); char *strtoupper(char *str); +char *strtrim(char *str); int reg_match(char *string, char *pattern); #endif /* _PM_UTIL_H */ -- cgit v1.2.3-70-g09d2