The following commit has been merged in the master branch: commit 006fc961abf17f962fb1b1299b277050483f676f Author: Guillem Jover <guil...@debian.org> Date: Sun Jan 4 17:17:49 2009 +0200
libdpkg: Move printforhelp declaration to myopt.h diff --git a/ChangeLog b/ChangeLog index a49c2f2..f43df77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-01-04 Guillem Jover <guil...@debian.org> + * lib/dpkg.h (printforhelp): Move declaration to ... + * lib/myopt.h: ... here. + +2009-01-04 Guillem Jover <guil...@debian.org> + * lib/dpkg-db.h (trig_note_pend_core, trig_note_pend): Make trig argument const. * lib/triglib.c (trig_record_activation): Likewise. diff --git a/lib/dpkg.h b/lib/dpkg.h index 61508ff..1db4e1f 100644 --- a/lib/dpkg.h +++ b/lib/dpkg.h @@ -145,7 +145,6 @@ DPKG_BEGIN_DECLS #define TARBLKSZ 512 extern const char thisname[]; /* defined separately in each program */ -extern const char printforhelp[]; /*** from startup.c ***/ diff --git a/lib/myopt.h b/lib/myopt.h index 9c3dfee..6bd363e 100644 --- a/lib/myopt.h +++ b/lib/myopt.h @@ -40,6 +40,8 @@ struct cmdinfo { voidfnp farg; }; +extern const char printforhelp[]; + void badusage(const char *fmt, ...) NONRETURNING PRINTFFORMAT(1, 2); #define MAX_CONFIG_LINE 1024 -- 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