]> sourceware.org Git - glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Mon, 7 May 2001 08:43:11 +0000 (08:43 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 7 May 2001 08:43:11 +0000 (08:43 +0000)
2001-05-05  Jakub Jelinek  <jakub@redhat.com>

* include/features.h (__USE_EXTERN_INLINES): Don't define if
__NO_INLINE__ is defined.
* ctype/ctype.h (tolower, toupper): Change the guard condition to
__USE_EXTERN_INLINES check only.
* stdlib/stdlib.h (strtod, ...): Likewise.
* wcsmbs/wchar.h (mbrlen): Likewise.
* string/string.h: Only include bits/string.h and bits/string2.h
if __NO_INLINE__ is not defined.

ChangeLog
ctype/ctype.h
include/features.h
stdlib/stdlib.h
string/string.h
wcsmbs/wchar.h

index 4d88687c257c819005aba3f0690337cc1fe652d1..253f070500dff10b5ccf2ff8c9bbbb15467ce035 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2001-05-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/features.h (__USE_EXTERN_INLINES): Don't define if
+       __NO_INLINE__ is defined.
+       * ctype/ctype.h (tolower, toupper): Change the guard condition to
+       __USE_EXTERN_INLINES check only.
+       * stdlib/stdlib.h (strtod, ...): Likewise.
+       * wcsmbs/wchar.h (mbrlen): Likewise.
+       * string/string.h: Only include bits/string.h and bits/string2.h
+       if __NO_INLINE__ is not defined.
+
 2001-05-07  Andreas Jaeger  <aj@suse.de>
 
        * debug/Makefile ($(objpfx)xtrace): Substitute @SLIBDIR@ instead
index 6ae8f75681f992c3b1fbacdd8ef05fe2cd94fed5..f46dd86bc68337eb17196f7b99db28154a9a4633 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,96,97,98,99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,95,96,97,98,99,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -163,8 +163,7 @@ __exctype (_tolower);
 #  define isblank(c)   __isctype((c), _ISblank)
 # endif
 
-# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
- && defined __USE_EXTERN_INLINES
+# ifdef __USE_EXTERN_INLINES
 extern __inline int
 tolower (int __c) __THROW
 {
index b24528e59668401b08b1bf19b0b02fea66b50c52..0d9c9bdab9248382035a3f9853b93f1834a59807 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,96,97,98,99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,95,96,97,98,99,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #endif /* !ASSEMBLER */
 
 /* Decide whether we can define 'extern inline' functions in headers.  */
-#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__
+#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \
+    && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__
 # define __USE_EXTERN_INLINES  1
 #endif
 
index 5d410af71281d30b6848c0fa8abb662086b98783..5283440e4f29dbbf7c1fcaf450133287c4b6c186 100644 (file)
@@ -287,8 +287,7 @@ extern unsigned long long int __strtoull_internal (__const char *
 # endif
 #endif /* GCC */
 
-#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
-    && defined __USE_EXTERN_INLINES
+#ifdef __USE_EXTERN_INLINES
 /* Define inline functions which call the internal entry points.  */
 
 extern __inline double
index 08ebdfc681df1d2c7cafa37bcfd4e5ab87c0054e..386ed7648ce75bf2713b8d3034b9c5d414f858d5 100644 (file)
@@ -333,7 +333,8 @@ extern char *basename (__const char *__filename) __THROW;
 
 
 #if defined __GNUC__ && __GNUC__ >= 2
-# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && !defined __cplusplus
+# if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
+     && !defined __NO_INLINE__ && !defined __cplusplus
 /* When using GNU CC we provide some optimized versions of selected
    functions from this header.  There are two kinds of optimizations:
 
index 2130c12d4bc2a82c93155bd5cd19c380a1d02495..4206c796f70a2e999d1019691d2c8736028c4c8b 100644 (file)
@@ -284,8 +284,7 @@ extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
 extern size_t mbrlen (__const char *__restrict __s, size_t __n,
                      mbstate_t *__restrict __ps) __THROW;
 
-#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \
-    && defined __USE_EXTERN_INLINES
+#ifdef __USE_EXTERN_INLINES
 /* Define inline function as optimization.  */
 extern __inline size_t mbrlen (__const char *__restrict __s, size_t __n,
                               mbstate_t *__restrict __ps) __THROW
This page took 0.059943 seconds and 5 git commands to generate.