Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makefs don't reuse the same variables



details:   https://anonhg.NetBSD.org/src/rev/7c418a60113e
branches:  trunk
changeset: 784275:7c418a60113e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 23 21:03:15 2013 +0000

description:
don't reuse the same variables

diffstat:

 usr.sbin/makefs/msdos/Makefile.inc |   8 ++++----
 usr.sbin/makefs/v7fs/Makefile.inc  |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r 712fa7a6a00c -r 7c418a60113e usr.sbin/makefs/msdos/Makefile.inc
--- a/usr.sbin/makefs/msdos/Makefile.inc        Wed Jan 23 20:46:39 2013 +0000
+++ b/usr.sbin/makefs/msdos/Makefile.inc        Wed Jan 23 21:03:15 2013 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.1 2013/01/23 20:46:39 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2013/01/23 21:03:15 christos Exp $
 #
 
 MSDOS= ${NETBSDSRCDIR}/sys/fs/msdosfs
-NEWFS= ${NETBSDSRCDIR}/sbin/newfs_msdos
+MSDOS_NEWFS=   ${NETBSDSRCDIR}/sbin/newfs_msdos
 
-.PATH: ${.CURDIR}/v7fs ${MSDOS} ${NEWFS}
+.PATH: ${.CURDIR}/v7fs ${MSDOS} ${MSDOS_NEWFS}
 
-CPPFLAGS+= -DMSDOS_EI -I${MSDOS} -I${NEWFS}
+CPPFLAGS+= -DMSDOS_EI -I${MSDOS} -I${MSDOS_NEWFS}
diff -r 712fa7a6a00c -r 7c418a60113e usr.sbin/makefs/v7fs/Makefile.inc
--- a/usr.sbin/makefs/v7fs/Makefile.inc Wed Jan 23 20:46:39 2013 +0000
+++ b/usr.sbin/makefs/v7fs/Makefile.inc Wed Jan 23 21:03:15 2013 +0000
@@ -1,13 +1,13 @@
-#      $NetBSD: Makefile.inc,v 1.4 2011/07/19 18:29:41 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2013/01/23 21:03:15 christos Exp $
 #
 
 V7FS=  ${NETBSDSRCDIR}/sys/fs/v7fs
-NEWFS= ${NETBSDSRCDIR}/sbin/newfs_v7fs
+V7FS_NEWFS=    ${NETBSDSRCDIR}/sbin/newfs_v7fs
 FSCK=  ${NETBSDSRCDIR}/sbin/fsck       # use progress meter.
 
-.PATH: ${.CURDIR}/v7fs ${V7FS} ${NEWFS} ${FSCK}
+.PATH: ${.CURDIR}/v7fs ${V7FS} ${V7FS_NEWFS} ${FSCK}
 
-CPPFLAGS+= -DV7FS_EI -I${V7FS} -I${NEWFS} -I${FSCK}
+CPPFLAGS+= -DV7FS_EI -I${V7FS} -I${V7FS_NEWFS} -I${FSCK}
 
 SRCS += v7fs_endian.c v7fs_superblock.c v7fs_superblock_util.c v7fs_inode.c \
 v7fs_inode_util.c v7fs_datablock.c v7fs_dirent.c v7fs_io.c v7fs_file.c \
@@ -17,4 +17,4 @@
 SRCS += progress.c     # progress bar (fsck)
 .endif
 
-SRCS += v7fs_estimate.c v7fs_populate.c
\ No newline at end of file
+SRCS += v7fs_estimate.c v7fs_populate.c



Home | Main Index | Thread Index | Old Index