Added another bunch of compiler warnings and fix code.

This commit is contained in:
Juan RP
2011-01-15 11:59:44 +01:00
parent d9001adbad
commit 6051eb29ab
8 changed files with 33 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ struct list_pkgver_cb {
size_t pkgver_len;
};
static void
static void __attribute__((noreturn))
usage(void)
{
fprintf(stderr,
@@ -137,7 +137,7 @@ show_orphans(void)
return 0;
}
static void
static void __attribute__((noreturn))
cleanup(int signum)
{
xbps_end();