Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_ffs dion't define endian as well as try to declare...



details:   https://anonhg.NetBSD.org/src/rev/3651cb77eea1
branches:  trunk
changeset: 970894:3651cb77eea1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Apr 06 06:41:34 2020 +0000

description:
dion't define endian as well as try to declare it as a variable.

diffstat:

 sbin/fsck_ffs/main.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r be0b3dcce0b2 -r 3651cb77eea1 sbin/fsck_ffs/main.c
--- a/sbin/fsck_ffs/main.c      Mon Apr 06 02:36:49 2020 +0000
+++ b/sbin/fsck_ffs/main.c      Mon Apr 06 06:41:34 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.87 2020/04/05 15:25:40 joerg Exp $  */
+/*     $NetBSD: main.c,v 1.88 2020/04/06 06:41:34 mrg Exp $    */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.6 (Berkeley) 5/14/95";
 #else
-__RCSID("$NetBSD: main.c,v 1.87 2020/04/05 15:25:40 joerg Exp $");
+__RCSID("$NetBSD: main.c,v 1.88 2020/04/06 06:41:34 mrg Exp $");
 #endif
 #endif /* not lint */
 
@@ -115,7 +115,9 @@
 int    fswritefd;
 int    rerun;
 char   resolved;
+#ifndef NO_FFS_EI
 int    endian;
+#endif
 int    doswap;
 int    needswap;
 int    do_blkswap;



Home | Main Index | Thread Index | Old Index