@@ -1,3 +1,8 @@
+2008-03-11 Guillem Jover <guillem@debian.org>
+
+ * lib/showcright.c (showcopyright): Move function prototype to ...
+ * lib/dpkg.h: ... here, and replace existing one.
2008-03-11 Guillem Jover <guillem@debian.org>
* lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-def.h'.
@@ -354,7 +354,7 @@ extern volatile int onerr_abort;
/*** from showcright.c ***/
struct cmdinfo;
-void showcopyright(const struct cmdinfo*, const char*);
+void showcopyright(const struct cmdinfo *c, const char *v) NONRETURNING;
/*** from utils.c ***/
@@ -26,7 +26,6 @@
#include <dpkg.h>
-void showcopyright(const struct cmdinfo *c, const char *v) NONRETURNING;
void showcopyright(const struct cmdinfo *c, const char *v) {
int fd;
fd= open(COPYINGFILE,O_RDONLY);