about summary refs log tree commit diff
path: root/include/tar.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-03-13 10:38:12 -0400
committerRich Felker <dalias@aerifal.cx>2019-03-13 10:42:57 -0400
commit81221e13f93171508ec6f66f3c9c3ac439c6acd2 (patch)
treea71ef6876242235c03882078be430048a3f3d1bc /include/tar.h
parent00d3d577cac8dc05e683b16bfe3dbe4a692cb172 (diff)
downloadmusl-81221e13f93171508ec6f66f3c9c3ac439c6acd2.tar.gz
musl-81221e13f93171508ec6f66f3c9c3ac439c6acd2.tar.xz
musl-81221e13f93171508ec6f66f3c9c3ac439c6acd2.zip
expose TSVTX unconditionally in tar.h
as noted in Austin Group issue #1236, the XSI shading for TSVTX is
misplaced in the html version of the standard; it was only supposed to
be on the description text. the intent was that the definition always
be visible, which is reflected in the pdf version of the standard.

this reverts commits d93c0740d86aaf7043e79b942a6c0b3f576af4c8 and
729fef0a9358e2f6f1cd8c75a1a0f7ee48b08c95.
Diffstat (limited to 'include/tar.h')
-rw-r--r--include/tar.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/tar.h b/include/tar.h
index 2eba66ec..be589842 100644
--- a/include/tar.h
+++ b/include/tar.h
@@ -1,13 +1,9 @@
 #ifndef	_TAR_H
 #define	_TAR_H
 
-#include <features.h>
-
 #define TSUID   04000
 #define TSGID   02000
-#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define TSVTX   01000
-#endif
 #define TUREAD  00400
 #define TUWRITE 00200
 #define TUEXEC  00100