From 6a10fc88147ad7f55dab51565abe216852f8bd5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Sun, 28 Oct 2007 07:30:58 +0100 Subject: Eliminate u_short, USHRT_MAX. --- rpmio/fts.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rpmio/fts.h') 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 */ -- cgit v1.2.3