Module Name:    src
Committed By:   joerg
Date:           Sun Sep  4 20:31:00 UTC 2011

Modified Files:
        src/usr.bin/mkubootimage: mkubootimage.c

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/mkubootimage/mkubootimage.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/mkubootimage/mkubootimage.c
diff -u src/usr.bin/mkubootimage/mkubootimage.c:1.12 src/usr.bin/mkubootimage/mkubootimage.c:1.13
--- src/usr.bin/mkubootimage/mkubootimage.c:1.12	Sat Aug  6 11:12:05 2011
+++ src/usr.bin/mkubootimage/mkubootimage.c	Sun Sep  4 20:31:00 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mkubootimage.c,v 1.12 2011/08/06 11:12:05 wiz Exp $ */
+/* $NetBSD: mkubootimage.c,v 1.13 2011/09/04 20:31:00 joerg Exp $ */
 
 /*-
  * Copyright (c) 2010 Jared D. McNeill <jmcne...@invisible.ca>
@@ -30,7 +30,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkubootimage.c,v 1.12 2011/08/06 11:12:05 wiz Exp $");
+__RCSID("$NetBSD: mkubootimage.c,v 1.13 2011/09/04 20:31:00 joerg Exp $");
 
 #include <sys/mman.h>
 #include <sys/stat.h>
@@ -99,7 +99,7 @@
 	return "Unknown";
 }
 
-struct uboot_arch {
+static const struct uboot_arch {
 	enum uboot_image_arch arch;
 	const char *name;
 } uboot_arch[] = {
@@ -135,7 +135,7 @@
 	return "Unknown";
 }
 
-struct uboot_type {
+static struct uboot_type {
 	enum uboot_image_type type;
 	const char *name;
 } uboot_type[] = {
@@ -171,7 +171,7 @@
 	return "Unknown";
 }
 
-struct uboot_comp {
+static struct uboot_comp {
 	enum uboot_image_comp comp;
 	const char *name;
 } uboot_comp[] = {
@@ -208,7 +208,7 @@
 	return "Unknown";
 }
 
-static void
+__dead static void
 usage(void)
 {
 	fprintf(stderr, "usage: mkubootimage -A <arm|mips|mips64|powerpc>");

Reply via email to