Skip to content

Commit f170f67

Browse files
committed
Name three related enums in a consistent way
1 parent d9a34ad commit f170f67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

macosx/tclMacOSXFCmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum TclCopyfileFlags {
4848
* tclUnixFCmd.c !
4949
*/
5050

51-
enum {
51+
enum TclMacosFCmdAttributes {
5252
UNIX_GROUP_ATTRIBUTE,
5353
UNIX_OWNER_ATTRIBUTE,
5454
UNIX_PERMISSIONS_ATTRIBUTE,

unix/tclUnixFCmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ typedef int (TraversalProc)(Tcl_DString *srcPtr, Tcl_DString *dstPtr,
114114

115115
#ifndef DJGPP
116116

117-
enum {
117+
enum TclUnixFCmdAttributes {
118118
#if defined(__CYGWIN__)
119119
UNIX_ARCHIVE_ATTRIBUTE,
120120
#endif

win/tclWinFCmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static int CannotSetAttribute(Tcl_Interp *interp, int objIndex,
4545
* Constants and variables necessary for file attributes subcommand.
4646
*/
4747

48-
enum {
48+
enum TclWinFCmdAttributes {
4949
WIN_ARCHIVE_ATTRIBUTE,
5050
WIN_HIDDEN_ATTRIBUTE,
5151
WIN_LONGNAME_ATTRIBUTE,

0 commit comments

Comments
 (0)