summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/df/ext2fs_df.c4
-rw-r--r--bin/df/ffs_df.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/df/ext2fs_df.c b/bin/df/ext2fs_df.c
index e3e014e7c73..86ed0ecf9cc 100644
--- a/bin/df/ext2fs_df.c
+++ b/bin/df/ext2fs_df.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_df.c,v 1.10 2003/06/02 23:32:07 millert Exp $ */
+/* $OpenBSD: ext2fs_df.c,v 1.11 2004/09/14 22:46:04 deraadt Exp $ */
/*
* This file is substantially derived from src/sys/ufs/ext2fs/ext2fs_vfsops.c:e2fs_statfs().
@@ -53,7 +53,7 @@ int e2fs_df(int, char *, struct statfs *);
extern int bread(int, off_t, void *, int);
extern char *getmntpt(char *);
-union {
+static union {
struct ext2fs ie_fs;
char dummy[SBSIZE];
} sb;
diff --git a/bin/df/ffs_df.c b/bin/df/ffs_df.c
index fe24ab30969..f510a4c5287 100644
--- a/bin/df/ffs_df.c
+++ b/bin/df/ffs_df.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_df.c,v 1.9 2003/06/02 23:32:07 millert Exp $ */
+/* $OpenBSD: ffs_df.c,v 1.10 2004/09/14 22:46:04 deraadt Exp $ */
/*
* Copyright (c) 1980, 1990, 1993, 1994
@@ -55,7 +55,7 @@ int ffs_df(int, char *, struct statfs *);
extern int bread(int, off_t, void *, int);
extern char *getmntpt(char *);
-union {
+static union {
struct fs iu_fs;
char dummy[SBSIZE];
} sb;