From 6b861554f274b3a58debf2a0b91f424c65603344 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sun, 26 Feb 2017 15:54:06 +0100 Subject: Mark functions that don't return as dead. --- cpio/cpio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpio') diff --git a/cpio/cpio.c b/cpio/cpio.c index 6c20ee68..d7bb9c46 100644 --- a/cpio/cpio.c +++ b/cpio/cpio.c @@ -108,22 +108,22 @@ static int entry_to_archive(struct cpio *, struct archive_entry *); static int file_to_archive(struct cpio *, const char *); static void free_cache(struct name_cache *cache); static void list_item_verbose(struct cpio *, struct archive_entry *); -static void long_help(void); +static void long_help(void) __LA_DEAD; static const char *lookup_gname(struct cpio *, gid_t gid); static int lookup_gname_helper(struct cpio *, const char **name, id_t gid); static const char *lookup_uname(struct cpio *, uid_t uid); static int lookup_uname_helper(struct cpio *, const char **name, id_t uid); -static void mode_in(struct cpio *); -static void mode_list(struct cpio *); +static void mode_in(struct cpio *) __LA_DEAD; +static void mode_list(struct cpio *) __LA_DEAD; static void mode_out(struct cpio *); static void mode_pass(struct cpio *, const char *); static const char *remove_leading_slash(const char *); static int restore_time(struct cpio *, struct archive_entry *, const char *, int fd); -static void usage(void); -static void version(void); +static void usage(void) __LA_DEAD; +static void version(void) __LA_DEAD; static const char * passphrase_callback(struct archive *, void *); static void passphrase_free(char *); -- cgit v1.2.1