From: Jim Meyering Date: Mon, 5 May 2003 07:52:26 +0000 (+0000) Subject: (enum Ftw_option): Name this previously-anonymous enum. X-Git-Tag: v5.0.1~581 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=95623ba86e60202ddcbd93df887f3d5f7d5c257c;p=thirdparty%2Fcoreutils.git (enum Ftw_option): Name this previously-anonymous enum. (enum Ftw_option) [FTW_N_MEMBERS]: New member. --- diff --git a/lib/ftw_.h b/lib/ftw_.h index c202fb3b02..ffb832261c 100644 --- a/lib/ftw_.h +++ b/lib/ftw_.h @@ -50,7 +50,7 @@ __BEGIN_DECLS /* Values for the FLAG argument to the user function passed to `ftw' and 'nftw'. */ -enum +enum Ftw_option { FTW_F, /* Regular file. */ # define FTW_F FTW_F @@ -89,10 +89,13 @@ enum /* These flags are only passed from the `nftw' function. */ FTW_DP, /* Directory, all subdirs have been visited. */ # define FTW_DP FTW_DP - FTW_SLN /* Symbolic link naming non-existing file. */ + FTW_SLN, /* Symbolic link naming non-existing file. */ # define FTW_SLN FTW_SLN # endif /* extended X/Open */ + + FTW_N_MEMBERS +# define FTW_N_MEMBERS FTW_N_MEMBERS };