Module Name: src
Committed By: rillig
Date: Sun Jan 8 15:52:30 UTC 2023
Modified Files:
src/usr.sbin/flashctl: flashctl.c
Log Message:
flashctl: unexport local functions, add CVS ID
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/flashctl/flashctl.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.sbin/flashctl/flashctl.c
diff -u src/usr.sbin/flashctl/flashctl.c:1.6 src/usr.sbin/flashctl/flashctl.c:1.7
--- src/usr.sbin/flashctl/flashctl.c:1.6 Sun Jan 8 15:49:51 2023
+++ src/usr.sbin/flashctl/flashctl.c Sun Jan 8 15:52:30 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: flashctl.c,v 1.6 2023/01/08 15:49:51 rillig Exp $ */
+/* $NetBSD: flashctl.c,v 1.7 2023/01/08 15:52:30 rillig Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__RCSID("$NetBSD: flashctl.c,v 1.7 2023/01/08 15:52:30 rillig Exp $");
+
#include <sys/ioctl.h>
#include <sys/flashio.h>
#include <fcntl.h>
@@ -45,8 +48,8 @@
#include <errno.h>
-void usage(void);
-int to_intmax(intmax_t *, const char *);
+static void usage(void);
+static int to_intmax(intmax_t *, const char *);
int
main(int argc, char **argv)