+Sun Apr 22 02:46:06 CDT 2001 Adam Heath <doogie@debian.org>
+
+ * dpkg-deb/build.c, dpkg-deb/extract.c, dpkg-deb/main.c, lib/mlib.c(*),
+ lib/showcopyright.c, main/enquiry.c, main/main.c, split/main.c,
+ split/split.c, utils/md5sum.c, utils/start-stop-daemon.c: Added
+ macro NONRETURNING to several functions.
+
Sun Apr 22 02:02:34 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
* main/filesdb: change initialization of putat in
}
}
+int internalGzip(int fd1, int fd2, const char *compression, char *desc, ...) NONRETURNING;
int internalGzip(int fd1, int fd2, const char *compression, char *desc, ...) {
va_list al;
struct varbuf v;
/* Overly complex function that builds a .deb file
*/
+void do_build(const char *const *argv) NONRETURNING;
void do_build(const char *const *argv) {
static const char *const maintainerscripts[]= {
PREINSTFILE, POSTINSTFILE, PRERMFILE, POSTRMFILE, 0
waitsubproc(c1,"sh -c mv foo/* &c",0,0);
}
+static void readfail(FILE *a, const char *filename, const char *what) NONRETURNING;
static void readfail(FILE *a, const char *filename, const char *what) {
if (ferror(a)) {
ohshite(_("error reading %s from %.255s"),what,filename);
const struct cmdinfo *cipaction=0;
dofunction *action=0;
+static void helponly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void helponly(const struct cmdinfo *cip, const char *value) {
usage(); exit(0);
}
+static void versiononly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void versiononly(const struct cmdinfo *cip, const char *value) {
printversion(); exit(0);
}
action= dofunctions[cip-cmdinfos];
}
+int main(int argc, const char *const *argv) NONRETURNING;
int main(int argc, const char *const *argv) {
jmp_buf ejbuf;
fprintf(stderr, _("%s (subprocess): %s\n"), thisname, emsg);
}
+static void cu_m_fork(int argc, void **argv) NONRETURNING;
static void cu_m_fork(int argc, void **argv) {
exit(2);
/* Don't do the other cleanups, because they'll be done by/in the parent
#include <config.h>
#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);
if (fflush(stdout)) werr("stdout");
}
+void cmpversions(const char *const *argv) NONRETURNING;
void cmpversions(const char *const *argv) {
struct relationinfo {
const char *string;
{ 0 }
};
+static void helponly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void helponly(const struct cmdinfo *cip, const char *value) {
usage(); exit(0);
}
+static void versiononly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void versiononly(const struct cmdinfo *cip, const char *value) {
printversion(); exit(0);
}
{ 0, 0 }
};
+static void execbackend(int argc, const char *const *argv) NONRETURNING;
static void execbackend(int argc, const char *const *argv) {
execvp(BACKEND, (char* const*) argv);
ohshite(_("failed to exec dpkg-deb"));
ohshit(_("unexpected end of file in %.250s"),fn);
}
+static void helponly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void helponly(const struct cmdinfo *cip, const char *value) {
usage(); exit(0);
}
+static void versiononly(const struct cmdinfo *cip, const char *value) NONRETURNING;
static void versiononly(const struct cmdinfo *cip, const char *value) {
printversion(); exit(0);
}
action= dofunctions[cip-cmdinfos];
}
+int main(int argc, const char *const *argv) NONRETURNING;
int main(int argc, const char *const *argv) {
jmp_buf ejbuf;
int l;
#include <dpkg-db.h>
#include "dpkg-split.h"
+void do_split(const char *const *argv) NONRETURNING;
void do_split(const char *const *argv) {
const char *sourcefile, *prefix;
char *palloc;
(char*)0);
ohshite(_("unable to exec mksplit"));
}
-
-
-
int verbose = 0;
int bin_mode = 0;
+int main(int argc, char **argv) NONRETURNING;
int
main(int argc, char **argv)
{
exit(rc);
}
+void usage() NONRETURNING;
void
usage()
{
}
+int main(int argc, char **argv) NONRETURNING;
int
main(int argc, char **argv)
{