The following commit has been merged in the master branch:
commit 518b1f979ca90b1d9b6cc2e0f07b8d5d8e8ab8e0
Author: Guillem Jover <[EMAIL PROTECTED]>
Date:   Tue Mar 11 06:31:58 2008 +0200

    Move and replace showcopyright prototype from showcright.c to dpkg.h

diff --git a/ChangeLog b/ChangeLog
index 21b3074..77445b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-03-11  Guillem Jover  <[EMAIL PROTECTED]>
 
+       * lib/showcright.c (showcopyright): Move function prototype to ...
+       * lib/dpkg.h: ... here, and replace existing one.
+
+2008-03-11  Guillem Jover  <[EMAIL PROTECTED]>
+
        * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-def.h'.
        * lib/dpkg.h: Include 'dpkg-def.h'.
        (CONSTANT, PRINTFFORMAT, NONRETURNING, UNUSED): Move defninitions
diff --git a/lib/dpkg.h b/lib/dpkg.h
index 60c0500..ccc4bf9 100644
--- a/lib/dpkg.h
+++ b/lib/dpkg.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 ***/
 
diff --git a/lib/showcright.c b/lib/showcright.c
index 3f130c6..da61547 100644
--- a/lib/showcright.c
+++ b/lib/showcright.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);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to