The following commit has been merged in the master branch:
commit 3313e8ba2be45894e03dfa96c5fa8c23f77f73a0
Author: Guillem Jover <guil...@debian.org>
Date:   Wed Mar 14 03:51:15 2012 +0100

    libdpkg: Add new DPKG_ERROR_INIT macro

diff --git a/lib/dpkg/error.h b/lib/dpkg/error.h
index 2f285df..4908bf5 100644
--- a/lib/dpkg/error.h
+++ b/lib/dpkg/error.h
@@ -2,7 +2,7 @@
  * libdpkg - Debian packaging suite library routines
  * error.h - error message reporting
  *
- * Copyright © 2011 Guillem Jover <guil...@debian.org>
+ * Copyright © 2011-2012 Guillem Jover <guil...@debian.org>
  *
  * This is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -35,6 +35,8 @@ struct dpkg_error {
        char *str;
 };
 
+#define DPKG_ERROR_INIT { DPKG_MSG_NONE, NULL }
+
 int dpkg_put_warn(struct dpkg_error *err, const char *fmt, ...)
        DPKG_ATTR_PRINTF(2);
 int dpkg_put_error(struct dpkg_error *err, const char *fmt, ...)

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to