diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-05-02 22:58:18 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-05-02 22:58:18 +0000 |
commit | 490330a22a0ac71ef7b66bacf4b1c7386f2a272f (patch) | |
tree | 9179391c3f0e41e0bece4d129dabd3797c0c44c3 /usr.bin | |
parent | 0ff166914232a8287aec077cdbc752fda36f1cd2 (diff) | |
download | FreeBSD-src-490330a22a0ac71ef7b66bacf4b1c7386f2a272f.zip FreeBSD-src-490330a22a0ac71ef7b66bacf4b1c7386f2a272f.tar.gz |
Style: Use single tab after #define
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tar/bsdtar.c | 4 | ||||
-rw-r--r-- | usr.bin/tar/bsdtar_platform.h | 22 | ||||
-rw-r--r-- | usr.bin/tar/write.c | 6 |
3 files changed, 16 insertions, 16 deletions
diff --git a/usr.bin/tar/bsdtar.c b/usr.bin/tar/bsdtar.c index 171dcde..0db9ee0 100644 --- a/usr.bin/tar/bsdtar.c +++ b/usr.bin/tar/bsdtar.c @@ -72,8 +72,8 @@ const char *tar_opts = "b:C:cF:f:HhjkLlmnOoPprtT:UuvwXxyZz"; #define OPTION_EXCLUDE 1 #define OPTION_FAST_READ 2 -#define OPTION_NODUMP 3 -#define OPTION_HELP 4 +#define OPTION_NODUMP 3 +#define OPTION_HELP 4 const struct option tar_longopts[] = { { "absolute-paths", no_argument, NULL, 'P' }, diff --git a/usr.bin/tar/bsdtar_platform.h b/usr.bin/tar/bsdtar_platform.h index 1c5a930..8c5b75f 100644 --- a/usr.bin/tar/bsdtar_platform.h +++ b/usr.bin/tar/bsdtar_platform.h @@ -41,11 +41,11 @@ #include <paths.h> /* For _PATH_DEFTAPE */ #define HAVE_CHFLAGS 1 -#define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtimespec.tv_nsec +#define ARCHIVE_STAT_MTIME_NANOS(st) (st)->st_mtimespec.tv_nsec #if __FreeBSD__ > 4 -#define HAVE_GETOPT_LONG 1 -#define HAVE_POSIX_ACL 1 +#define HAVE_GETOPT_LONG 1 +#define HAVE_POSIX_ACL 1 #endif /* @@ -58,35 +58,35 @@ #define BSDTAR_FILESIZE_TYPE uintmax_t #define BSDTAR_FILESIZE_PRINTF "%ju" #else -#define BSDTAR_FILESIZE_TYPE unsigned long long -#define BSDTAR_FILESIZE_PRINTF "%llu" +#define BSDTAR_FILESIZE_TYPE unsigned long long +#define BSDTAR_FILESIZE_PRINTF "%llu" #endif #endif /* __FreeBSD__ */ /* No non-FreeBSD platform will have __FBSDID, so just define it here. */ #ifndef __FreeBSD__ -#define __FBSDID(a) /* null */ +#define __FBSDID(a) /* null */ #endif /* Linux */ #ifdef LINUX -#define _FILE_OFFSET_BITS 64 /* For a 64-bit off_t */ +#define _FILE_OFFSET_BITS 64 /* For a 64-bit off_t */ #include <stdint.h> /* for uintmax_t */ #define BSDTAR_FILESIZE_TYPE uintmax_t #define BSDTAR_FILESIZE_PRINTF "%ju" /* XXX get fnmatch GNU extensions (FNM_LEADING_DIR) * (should probably use AC_FUNC_FNMATCH_GNU once using autoconf...) */ -#define _GNU_SOURCE +#define _GNU_SOURCE #define _PATH_DEFTAPE "/dev/st0" -#define HAVE_GETOPT_LONG 1 +#define HAVE_GETOPT_LONG 1 #ifdef HAVE_STRUCT_STAT_TIMESPEC /* Fetch the nanosecond portion of the timestamp from a struct stat pointer. */ -#define ARCHIVE_STAT_MTIME_NANOS(pstat) (pstat)->st_mtim.tv_nsec +#define ARCHIVE_STAT_MTIME_NANOS(pstat) (pstat)->st_mtim.tv_nsec #else /* High-res timestamps aren't available, so just use stubs here. */ -#define ARCHIVE_STAT_MTIME_NANOS(pstat) 0 +#define ARCHIVE_STAT_MTIME_NANOS(pstat) 0 #endif #endif diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index c183392..ba88c83 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -53,11 +53,11 @@ __FBSDID("$FreeBSD$"); #include "bsdtar.h" /* Fixed size of uname/gname cache. */ -#define gname_cache_size 101 -#define uname_cache_size 101 +#define gname_cache_size 101 +#define uname_cache_size 101 /* Initial size of link cache. */ -#define links_cache_initial_size 1024 +#define links_cache_initial_size 1024 struct archive_dir_entry { struct archive_dir_entry *next; |