]> git.cameronkatri.com Git - bsd-progress.git/commitdiff
Use __dead
authorjoerg <joerg@NetBSD.org>
Fri, 16 Sep 2011 15:39:25 +0000 (15:39 +0000)
committerjoerg <joerg@NetBSD.org>
Fri, 16 Sep 2011 15:39:25 +0000 (15:39 +0000)
progress.c

index 893e89cd0423dd373b7f0b5d40fa972017f9982c..5e4f8ee8185962ad44d3b82f8892ea096cfe7895 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: progress.c,v 1.18 2010/07/17 10:51:03 tron Exp $ */
+/*     $NetBSD: progress.c,v 1.19 2011/09/16 15:39:28 joerg Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: progress.c,v 1.18 2010/07/17 10:51:03 tron Exp $");
+__RCSID("$NetBSD: progress.c,v 1.19 2011/09/16 15:39:28 joerg Exp $");
 #endif                         /* not lint */
 
 #include <sys/types.h>
 #endif                         /* not lint */
 
 #include <sys/types.h>
@@ -64,8 +64,7 @@ __RCSID("$NetBSD: progress.c,v 1.18 2010/07/17 10:51:03 tron Exp $");
 #include "progressbar.h"
 
 static void broken_pipe(int unused);
 #include "progressbar.h"
 
 static void broken_pipe(int unused);
-static void usage(void);
-int main(int, char *[]);
+__dead static void usage(void);
 
 static void
 broken_pipe(int unused)
 
 static void
 broken_pipe(int unused)