From: Guillem Jover Date: Tue, 11 Mar 2008 04:31:58 +0000 (+0200) Subject: Move and replace showcopyright prototype from showcright.c to dpkg.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518b1f979ca90b1d9b6cc2e0f07b8d5d8e8ab8e0;p=dpkg Move and replace showcopyright prototype from showcright.c to dpkg.h --- diff --git a/ChangeLog b/ChangeLog index 21b30744..77445b34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-11 Guillem Jover + + * lib/showcright.c (showcopyright): Move function prototype to ... + * lib/dpkg.h: ... here, and replace existing one. + 2008-03-11 Guillem Jover * lib/Makefile.am (libdpkg_a_SOURCES): Add 'dpkg-def.h'. diff --git a/lib/dpkg.h b/lib/dpkg.h index 60c05005..ccc4bf91 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 3f130c68..da61547c 100644 --- a/lib/showcright.c +++ b/lib/showcright.c @@ -26,7 +26,6 @@ #include -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);