diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-28 07:30:58 +0100 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-28 07:30:58 +0100 |
commit | 6a10fc88147ad7f55dab51565abe216852f8bd5c (patch) | |
tree | 683394c884fa31b442dda082616a91d7162b0450 /rpmio/fts.h | |
parent | a02ad3f220decc6a8e54fbf8e436f64ee0c07243 (diff) | |
download | librpm-tizen-6a10fc88147ad7f55dab51565abe216852f8bd5c.tar.gz librpm-tizen-6a10fc88147ad7f55dab51565abe216852f8bd5c.tar.bz2 librpm-tizen-6a10fc88147ad7f55dab51565abe216852f8bd5c.zip |
Eliminate u_short, USHRT_MAX.
Diffstat (limited to 'rpmio/fts.h')
-rw-r--r-- | rpmio/fts.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rpmio/fts.h b/rpmio/fts.h index 9d982aebd..09e675b11 100644 --- a/rpmio/fts.h +++ b/rpmio/fts.h @@ -107,8 +107,8 @@ typedef struct _ftsent { char *fts_path; /*!< root path */ int fts_errno; /*!< errno for this node */ int fts_symfd; /*!< fd for symlink */ - u_short fts_pathlen; /*!< strlen(fts_path) */ - u_short fts_namelen; /*!< strlen(fts_name) */ + uint16_t fts_pathlen; /*!< strlen(fts_path) */ + uint16_t fts_namelen; /*!< strlen(fts_name) */ ino_t fts_ino; /*!< inode */ dev_t fts_dev; /*!< device */ @@ -132,17 +132,17 @@ typedef struct _ftsent { #define FTS_SL 12 /* symbolic link */ #define FTS_SLNONE 13 /* symbolic link without target */ #define FTS_W 14 /* whiteout object */ - u_short fts_info; /*!< user flags for FTSENT structure */ + uint16_t fts_info; /*!< user flags for FTSENT structure */ #define FTS_DONTCHDIR 0x01 /* don't chdir .. to the parent */ #define FTS_SYMFOLLOW 0x02 /* followed a symlink to get here */ - u_short fts_flags; /*!< private flags for FTSENT structure */ + uint16_t fts_flags; /*!< private flags for FTSENT structure */ #define FTS_AGAIN 1 /* read node again */ #define FTS_FOLLOW 2 /* follow symbolic link */ #define FTS_NOINSTR 3 /* no instructions */ #define FTS_SKIP 4 /* discard node */ - u_short fts_instr; /*!< fts_set() instructions */ + uint16_t fts_instr; /*!< fts_set() instructions */ struct stat *fts_statp; /*!< stat(2) information */ char fts_name[1]; /*!< file name */ |