On 04/06/11 08:41, Dan McGee wrote:
Signed-off-by: Dan McGee<[email protected]>
---
  src/util/cleanupdelta.c |   14 ++++++++------
  src/util/pactree.c      |   23 +++++++----------------
  src/util/testdb.c       |   17 ++++++++---------
  src/util/testpkg.c      |   11 +++++++----
  4 files changed, 30 insertions(+), 35 deletions(-)

<snip>

diff --git a/src/util/pactree.c b/src/util/pactree.c
index e9a2816..23e0562 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -74,6 +74,7 @@ static struct color_choices no_color = {
  };

  /* globals */
+pmhandle_t *handle = NULL;
  pmdb_t *db_local;
  alpm_list_t *walked = NULL;
  alpm_list_t *provisions = NULL;
@@ -87,23 +88,13 @@ int reverse = 0;
  int unique = 0;
  const char *dbpath = DBPATH;

-static int alpm_local_init(void)
+static int alpm_local_init()


pactree.c:91:12: error: function declaration isn’t a prototype [-Werror=strict-prototypes]


Reply via email to