aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-10-14 07:44:11 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-10-14 07:44:11 +0000
commit2457f34144fdd0c3304182678c9454f4f59a68b4 (patch)
tree9f4744f7d6b07a25085a4bf066dfdf1635d90fcc /winsup
parent96536b50a6cebbf8aab9f82c41c8393b371e42ba (diff)
downloadnewlib-2457f34144fdd0c3304182678c9454f4f59a68b4.zip
newlib-2457f34144fdd0c3304182678c9454f4f59a68b4.tar.gz
newlib-2457f34144fdd0c3304182678c9454f4f59a68b4.tar.bz2
* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/sys/stat.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 5e2a6b6..5ca5c55 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
+
2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/math/fastmath.h: New file.
diff --git a/winsup/mingw/include/sys/stat.h b/winsup/mingw/include/sys/stat.h
index 4793fdc..0908b49 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 */