Style: Use single tab after #define

This commit is contained in:
Tim Kientzle 2004-05-02 22:58:18 +00:00
parent dce3a06eaa
commit f1fe72c1cc
3 changed files with 16 additions and 16 deletions

View File

@ -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' },

View File

@ -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

View File

@ -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;