]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove IS_IN_libc
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 21 Aug 2014 08:56:54 +0000 (14:26 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Wed, 5 Nov 2014 10:39:40 +0000 (16:09 +0530)
Replace it with IS_IN (libc) and remove the one place that it
is defined in.  The generated code remains unchanged on x86_64.

* include/shlib-compat.h [!NOT_IN_libc]: Remove.
* nss/nss_files/files-parse.c (IS_IN_libc): Replace with
IS_IN (libc).

include/shlib-compat.h
nss/nss_files/files-parse.c

index 30804d369c7f25ba23f7ecbcdcb66127d05c484c..062da8d669161e66fa9cf0aa1a15208eee96ef58 100644 (file)
    && (!(ABI_##lib##_##obsoleted - 0)                                        \
        || ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))
 
-# ifndef NOT_IN_libc
-#  define IS_IN_libc 1
-# endif
-
 /* That header also defines symbols like `VERSION_libm_GLIBC_2_1' to
    the version set name to use for e.g. symbols first introduced into
    libm in the GLIBC_2.1 version.  Definitions of symbols with explicit
index 1da1a6f3523da614994b047fad8bde1bb641e8f8..42fd1f37574a59e0685d419fbb32fd8a26008a08 100644 (file)
@@ -73,7 +73,7 @@ struct parser_data
 /* Export the line parser function so it can be used in nss_db.  */
 # define parser_stclass /* Global */
 # define parse_line CONCAT(_nss_files_parse_,ENTNAME)
-# ifdef IS_IN_libc
+# if IS_IN (libc)
 /* We are defining one of the functions that actually lives in libc
    because it is used to implement fget*ent and suchlike.  */
 #  define nss_files_parse_hidden_def(name) libc_hidden_def (name)