ce426f
commit 2886d2d14dd7de6339b04505c5d2f9fc5c844751
ce426f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
ce426f
Date:   Thu Nov 20 12:21:01 2014 +0530
ce426f
ce426f
    Remove IS_IN_libc
ce426f
    
ce426f
    Replace it with IS_IN (libc) and remove the one place that it
ce426f
    is defined in.  The generated code remains unchanged on x86_64.
ce426f
    
ce426f
    	* include/shlib-compat.h [!NOT_IN_libc]: Remove.
ce426f
    	* nss/nss_files/files-parse.c (IS_IN_libc): Replace with
ce426f
    	IS_IN (libc).
ce426f
ce426f
Index: glibc-2.17-c758a686/include/shlib-compat.h
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/include/shlib-compat.h
ce426f
+++ glibc-2.17-c758a686/include/shlib-compat.h
ce426f
@@ -49,10 +49,6 @@
ce426f
    && (!(ABI_##lib##_##obsoleted - 0)					      \
ce426f
        || ((ABI_##lib##_##introduced - 0) < (ABI_##lib##_##obsoleted - 0))))
ce426f
 
ce426f
-# ifndef NOT_IN_libc
ce426f
-#  define IS_IN_libc 1
ce426f
-# endif
ce426f
-
ce426f
 /* That header also defines symbols like `VERSION_libm_GLIBC_2_1' to
ce426f
    the version set name to use for e.g. symbols first introduced into
ce426f
    libm in the GLIBC_2.1 version.  Definitions of symbols with explicit
ce426f
Index: glibc-2.17-c758a686/nss/nss_files/files-parse.c
ce426f
===================================================================
ce426f
--- glibc-2.17-c758a686.orig/nss/nss_files/files-parse.c
ce426f
+++ glibc-2.17-c758a686/nss/nss_files/files-parse.c
ce426f
@@ -72,7 +72,7 @@ struct parser_data
ce426f
 /* Export the line parser function so it can be used in nss_db.  */
ce426f
 # define parser_stclass /* Global */
ce426f
 # define parse_line CONCAT(_nss_files_parse_,ENTNAME)
ce426f
-# ifdef IS_IN_libc
ce426f
+# if IS_IN (libc)
ce426f
 /* We are defining one of the functions that actually lives in libc
ce426f
    because it is used to implement fget*ent and suchlike.  */
ce426f
 #  define nss_files_parse_hidden_def(name) libc_hidden_def (name)