Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/flashctl flashctl: unexport local functions, add CV...



details:   https://anonhg.NetBSD.org/src/rev/0101b0cdde05
branches:  trunk
changeset: 372968:0101b0cdde05
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jan 08 15:52:30 2023 +0000

description:
flashctl: unexport local functions, add CVS ID

No functional change.

diffstat:

 usr.sbin/flashctl/flashctl.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 4a90d96afb30 -r 0101b0cdde05 usr.sbin/flashctl/flashctl.c
--- a/usr.sbin/flashctl/flashctl.c      Sun Jan 08 15:49:51 2023 +0000
+++ b/usr.sbin/flashctl/flashctl.c      Sun Jan 08 15:52:30 2023 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index