[PATCH] Update usr.sbin/acpid/main.c to style(9)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Update usr.sbin/acpid/main.c to style(9)

Dmitri Alenitchev
Index: main.c
===================================================================
RCS file: /cvs/src/usr.sbin/acpid/main.c,v
retrieving revision 1.2
diff -u -r1.2 main.c
--- main.c      3 Jun 2005 22:45:13 -0000       1.2
+++ main.c      28 Aug 2006 20:20:37 -0000
@@ -33,8 +33,7 @@
 #include "acpi.h"

 void sigexit(int);
-void usage(void);
-void run_script(const char *);
+__dead void usage(void);

 int debug = 0;

@@ -47,12 +46,10 @@
 {
 }

-void
+__dead void
 usage(void)
 {
-       fprintf(stderr,
-           "usage: %s [-d]\n",
-           __progname);
+       fprintf(stderr, "usage: %s [-d]\n", __progname);
        exit(1);
 }

--
Dmitri A. Alenitchev
No place like $HOME