The following commit has been merged in the master branch: commit 7d1245eff85d74d872b6ee89f55c8466321e560c Author: Guillem Jover <guil...@debian.org> Date: Sun Feb 8 03:38:57 2009 +0200
libdpkg: Remove unused function ohshitvb diff --git a/ChangeLog b/ChangeLog index 504ecbd..ef6bbad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-08 Guillem Jover <guil...@debian.org> + + * lib/dpkg.h (ohshitvb): Remove function prototype. + * lib/ehandle.c (ohshitvb): Remove function definition. + 2009-02-06 Guillem Jover <guil...@debian.org> * man/deb.5: Add detailed information of the currently supported diff --git a/lib/dpkg.h b/lib/dpkg.h index f72164b..3ebe394 100644 --- a/lib/dpkg.h +++ b/lib/dpkg.h @@ -172,7 +172,6 @@ struct varbuf; void ohshit(const char *fmt, ...) NONRETURNING PRINTFFORMAT(1, 2); void ohshitv(const char *fmt, va_list al) NONRETURNING; void ohshite(const char *fmt, ...) NONRETURNING PRINTFFORMAT(1, 2); -void ohshitvb(struct varbuf*) NONRETURNING; void werr(const char *what) NONRETURNING; void warning(const char *fmt, ...) PRINTFFORMAT(1, 2); diff --git a/lib/ehandle.c b/lib/ehandle.c index 5167d6e..f430469 100644 --- a/lib/ehandle.c +++ b/lib/ehandle.c @@ -256,16 +256,6 @@ void print_error_fatal(const char *emsg, const char *contextstring) { fprintf(stderr, "%s: %s\n",thisname,emsg); } -void ohshitvb(struct varbuf *vb) { - char *m; - varbufaddc(vb,0); - m= m_malloc(strlen(vb->buf)); - strcpy(m,vb->buf); - errmsg= m; - - run_error_handler(); -} - void ohshitv(const char *fmt, va_list al) { vsnprintf(errmsgbuf,sizeof(errmsgbuf),fmt,al); errmsg= errmsgbuf; -- 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