From 2457f34144fdd0c3304182678c9454f4f59a68b4 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 14 Oct 2004 07:44:11 +0000 Subject: [PATCH] * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/include/sys/stat.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 5e2a6b644..5ca5c556d 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2004-10-14 Danny Smith + + * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90. + 2004-10-07 Danny Smith * mingwex/math/fastmath.h: New file. diff --git a/winsup/mingw/include/sys/stat.h b/winsup/mingw/include/sys/stat.h index 4793fdc58..0908b4968 100644 --- a/winsup/mingw/include/sys/stat.h +++ b/winsup/mingw/include/sys/stat.h @@ -49,7 +49,7 @@ #define _S_ISCHR(m) (((m) & _S_IFMT) == _S_IFCHR) #define _S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK) #define _S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) -#define _S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK) // Should always be zero. +#define _S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK) /* Should always be zero.*/ #ifndef _NO_OLDNAMES @@ -73,7 +73,7 @@ #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) // Should always be zero. +#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* Should always be zero.*/ #endif /* Not _NO_OLDNAMES */ -- 2.43.5