summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2005-01-07 00:06:20 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2005-01-07 00:06:20 +0000
commit28644c1bbb42a2c9635e6200b2735688d3d508b9 (patch)
tree37a097a0620ecd5d559bafa547fdf6516c8c32ee /include
parent72f0eb91047ec8a903e796a50e89432144a0b8b8 (diff)
downloadsrc-test2-28644c1bbb42a2c9635e6200b2735688d3d508b9.tar.gz
src-test2-28644c1bbb42a2c9635e6200b2735688d3d508b9.zip
Notes
Diffstat (limited to 'include')
-rw-r--r--include/fts.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/fts.h b/include/fts.h
index 09c4600a1072..7eb03a649943 100644
--- a/include/fts.h
+++ b/include/fts.h
@@ -69,8 +69,16 @@ typedef struct _ftsent {
struct _ftsent *fts_cycle; /* cycle node */
struct _ftsent *fts_parent; /* parent directory */
struct _ftsent *fts_link; /* next file in directory */
- long fts_number; /* local numeric value */
- void *fts_pointer; /* local address value */
+ union {
+ struct {
+ long __fts_number; /* local numeric value */
+ void *__fts_pointer; /* local address value */
+ } __struct_ftsent;
+ int64_t __fts_bignum;
+ } __union_ftsent;
+#define fts_number __union_ftsent.__struct_ftsent.__fts_number
+#define fts_pointer __union_ftsent.__struct_ftsent.__fts_pointer
+#define fts_bignum __union_ftsent.__fts_bignum
char *fts_accpath; /* access path */
char *fts_path; /* root path */
int fts_errno; /* errno for this node */