summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/dos.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
committertg <tg@FreeBSD.org>2001-08-03 10:47:56 +0000
commit35c464f8db5c9063cd84d117cfee4f41f3a34d7d (patch)
treedbd198ff9f3b1109120093a7b905cdf730a13435 /usr.bin/doscmd/dos.c
parent0f2b8ea245e81d2c129d6319196108b8586bed63 (diff)
downloadFreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.zip
FreeBSD-src-35c464f8db5c9063cd84d117cfee4f41f3a34d7d.tar.gz
Fix warnings from `-Wmissing-prototypes'. Staticize.
Diffstat (limited to 'usr.bin/doscmd/dos.c')
-rw-r--r--usr.bin/doscmd/dos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/doscmd/dos.c b/usr.bin/doscmd/dos.c
index 68d5bd1..fd8356d 100644
--- a/usr.bin/doscmd/dos.c
+++ b/usr.bin/doscmd/dos.c
@@ -51,8 +51,6 @@
#include "dispatch.h"
#include "tty.h"
-static u_long upcase_vector;
-
/* Country Info */
struct {
ushort ciDateFormat;
@@ -100,11 +98,13 @@ char *InDOS;
unsigned long disk_transfer_addr;
/* locals */
+static void fcb_to_string(struct fcb *, u_char *);
+
static int ctrl_c_flag = 0;
static int return_status = 0;
static int doserrno = 0;
static int memory_strategy = 0; /* first fit (we ignore this) */
-
+static u_long upcase_vector;
static u_char upc_table[0x80] = {
0x80, 0x9a, 'E', 'A', 0x8e, 'A', 0x8f, 0x80,
@@ -2054,7 +2054,7 @@ setfcb_rec(struct fcb *fcbp, int n)
return(0);
}
-void
+static void
fcb_to_string(fcbp, buf)
struct fcb *fcbp;
u_char *buf;
OpenPOWER on IntegriCloud