From 518b1f979ca90b1d9b6cc2e0f07b8d5d8e8ab8e0 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 11 Mar 2008 06:31:58 +0200 Subject: [PATCH] Move and replace showcopyright prototype from showcright.c to dpkg.h --- ChangeLog | 5 +++++ lib/dpkg.h | 2 +- lib/showcright.c | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) 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); -- 2.39.5