aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-05-14 23:17:20 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-05-14 23:17:20 +0300
commitd9986db782d6cf0f314342127280519339378fa0 (patch)
tree801835064e6a2a86ccc2ac5c68563f951ea786ac /src/liblzma/api/lzma.h
parentUpdated INSTALL. (diff)
downloadxz-d9986db782d6cf0f314342127280519339378fa0.tar.xz
Omit lzma_restrict from the API headers.
It isn't really useful so omitting it makes things shorter and slightly more readable.
Diffstat (limited to 'src/liblzma/api/lzma.h')
-rw-r--r--src/liblzma/api/lzma.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/liblzma/api/lzma.h b/src/liblzma/api/lzma.h
index 5be9b4e3..84279211 100644
--- a/src/liblzma/api/lzma.h
+++ b/src/liblzma/api/lzma.h
@@ -234,10 +234,6 @@
# define lzma_attribute(attr) __attribute__(attr)
# endif
-# ifndef lzma_restrict
-# define lzma_restrict __restrict__
-# endif
-
/* warn_unused_result was added in GCC 3.4. */
# ifndef lzma_attr_warn_unused_result
# if __GNUC__ == 3 && __GNUC_MINOR__ < 4
@@ -249,14 +245,6 @@
# ifndef lzma_attribute
# define lzma_attribute(attr)
# endif
-
-# ifndef lzma_restrict
-# if __STDC_VERSION__ >= 199901L
-# define lzma_restrict restrict
-# else
-# define lzma_restrict
-# endif
-# endif
#endif