Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 156071 | Differences between
and this patch

Collapse All | Expand All

(-)libc/mach/mach/mig_support.h.jj (-3 / +3 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1993,94,97,99,2001 Free Software Foundation, Inc.
1
/* Copyright (C) 1993,94,97,99,2001,2006 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
2
   This file is part of the GNU C Library.
3
3
4
   The GNU C Library is free software; you can redistribute it and/or
4
   The GNU C Library is free software; you can redistribute it and/or
Lines 67-78 extern void mig_reply_setup (const mach_ Link Here
67
/* Idiocy support function.  */
67
/* Idiocy support function.  */
68
extern vm_size_t mig_strncpy (char *__dst, const char *__src, vm_size_t __len);
68
extern vm_size_t mig_strncpy (char *__dst, const char *__src, vm_size_t __len);
69
extern vm_size_t __mig_strncpy (char *__dst, const char *__src, vm_size_t);
69
extern vm_size_t __mig_strncpy (char *__dst, const char *__src, vm_size_t);
70
extern __inline vm_size_t
70
__extern_inline vm_size_t
71
__mig_strncpy (char *__dst, const char *__src, vm_size_t __len)
71
__mig_strncpy (char *__dst, const char *__src, vm_size_t __len)
72
{
72
{
73
  return __stpncpy (__dst, __src, __len) - __dst;
73
  return __stpncpy (__dst, __src, __len) - __dst;
74
}
74
}
75
extern __inline vm_size_t
75
__extern_inline vm_size_t
76
mig_strncpy (char *__dst, const char *__src, vm_size_t __len)
76
mig_strncpy (char *__dst, const char *__src, vm_size_t __len)
77
{
77
{
78
  return __mig_strncpy (__dst, __src, __len);
78
  return __mig_strncpy (__dst, __src, __len);
(-)libc/mach/lock-intern.h.jj (-2 / +2 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
1
/* Copyright (C) 1994, 1996, 2006 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
2
   This file is part of the GNU C Library.
3
3
4
   The GNU C Library is free software; you can redistribute it and/or
4
   The GNU C Library is free software; you can redistribute it and/or
Lines 22-28 Link Here
22
#include <machine-lock.h>
22
#include <machine-lock.h>
23
23
24
#ifndef _EXTERN_INLINE
24
#ifndef _EXTERN_INLINE
25
#define _EXTERN_INLINE extern __inline
25
#define _EXTERN_INLINE __extern_inline
26
#endif
26
#endif
27
27
28
28
(-)libc/include/stdlib.h.jj (-7 / +7 lines)
Lines 139-181 libc_hidden_proto (____strtoll_l_interna Link Here
139
libc_hidden_proto (____strtoul_l_internal)
139
libc_hidden_proto (____strtoul_l_internal)
140
libc_hidden_proto (____strtoull_l_internal)
140
libc_hidden_proto (____strtoull_l_internal)
141
141
142
extern __inline double
142
__extern_inline double
143
__NTH (__strtod_l (__const char *__restrict __nptr, char **__restrict __endptr,
143
__NTH (__strtod_l (__const char *__restrict __nptr, char **__restrict __endptr,
144
		   __locale_t __loc))
144
		   __locale_t __loc))
145
{
145
{
146
  return ____strtod_l_internal (__nptr, __endptr, 0, __loc);
146
  return ____strtod_l_internal (__nptr, __endptr, 0, __loc);
147
}
147
}
148
extern __inline long int
148
__extern_inline long int
149
__NTH (__strtol_l (__const char *__restrict __nptr, char **__restrict __endptr,
149
__NTH (__strtol_l (__const char *__restrict __nptr, char **__restrict __endptr,
150
		   int __base, __locale_t __loc))
150
		   int __base, __locale_t __loc))
151
{
151
{
152
  return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc);
152
  return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc);
153
}
153
}
154
extern __inline unsigned long int
154
__extern_inline unsigned long int
155
__NTH (__strtoul_l (__const char *__restrict __nptr,
155
__NTH (__strtoul_l (__const char *__restrict __nptr,
156
		    char **__restrict __endptr, int __base, __locale_t __loc))
156
		    char **__restrict __endptr, int __base, __locale_t __loc))
157
{
157
{
158
  return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc);
158
  return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc);
159
}
159
}
160
extern __inline float
160
__extern_inline float
161
__NTH (__strtof_l (__const char *__restrict __nptr, char **__restrict __endptr,
161
__NTH (__strtof_l (__const char *__restrict __nptr, char **__restrict __endptr,
162
		   __locale_t __loc))
162
		   __locale_t __loc))
163
{
163
{
164
  return ____strtof_l_internal (__nptr, __endptr, 0, __loc);
164
  return ____strtof_l_internal (__nptr, __endptr, 0, __loc);
165
}
165
}
166
extern __inline long double
166
__extern_inline long double
167
__NTH (__strtold_l (__const char *__restrict __nptr,
167
__NTH (__strtold_l (__const char *__restrict __nptr,
168
		    char **__restrict __endptr, __locale_t __loc))
168
		    char **__restrict __endptr, __locale_t __loc))
169
{
169
{
170
  return ____strtold_l_internal (__nptr, __endptr, 0, __loc);
170
  return ____strtold_l_internal (__nptr, __endptr, 0, __loc);
171
}
171
}
172
__extension__ extern __inline long long int
172
__extension__ __extern_inline long long int
173
__NTH (__strtoll_l (__const char *__restrict __nptr,
173
__NTH (__strtoll_l (__const char *__restrict __nptr,
174
		    char **__restrict __endptr, int __base, __locale_t __loc))
174
		    char **__restrict __endptr, int __base, __locale_t __loc))
175
{
175
{
176
  return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc);
176
  return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc);
177
}
177
}
178
__extension__ extern __inline unsigned long long int
178
__extension__ __extern_inline unsigned long long int
179
__NTH (__strtoull_l (__const char * __restrict __nptr,
179
__NTH (__strtoull_l (__const char * __restrict __nptr,
180
		     char **__restrict __endptr, int __base, __locale_t __loc))
180
		     char **__restrict __endptr, int __base, __locale_t __loc))
181
{
181
{
(-)libc/include/ctype.h.jj (-1 / +1 lines)
Lines 15-21 extern int __isctype (int __c, int __mas Link Here
15
#  include <bits/libc-tsd.h>
15
#  include <bits/libc-tsd.h>
16
16
17
#  ifndef CTYPE_EXTERN_INLINE	/* Used by ctype/ctype-info.c, which see.  */
17
#  ifndef CTYPE_EXTERN_INLINE	/* Used by ctype/ctype-info.c, which see.  */
18
#   define CTYPE_EXTERN_INLINE extern inline
18
#   define CTYPE_EXTERN_INLINE __extern_inline
19
#  endif
19
#  endif
20
20
21
__libc_tsd_define (extern, CTYPE_B)
21
__libc_tsd_define (extern, CTYPE_B)
(-)libc/include/sys/stat.h.jj (-3 / +3 lines)
Lines 19-31 hidden_proto (__lxstat64) Link Here
19
hidden_proto (__xstat)
19
hidden_proto (__xstat)
20
hidden_proto (__xstat64)
20
hidden_proto (__xstat64)
21
#endif
21
#endif
22
extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
22
__extern_inline int __stat (__const char *__path, struct stat *__statbuf)
23
{
23
{
24
  return __xstat (_STAT_VER, __path, __statbuf);
24
  return __xstat (_STAT_VER, __path, __statbuf);
25
}
25
}
26
libc_hidden_proto (__xmknod)
26
libc_hidden_proto (__xmknod)
27
extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
27
__extern_inline int __mknod (__const char *__path, __mode_t __mode,
28
			       __dev_t __dev)
28
			     __dev_t __dev)
29
{
29
{
30
  return __xmknod (_MKNOD_VER, __path, __mode, &__dev);
30
  return __xmknod (_MKNOD_VER, __path, __mode, &__dev);
31
}
31
}
(-)libc/stdlib/stdlib.h.jj (-13 / +13 lines)
Lines 324-341 extern unsigned long long int __strtoull Link Here
324
/* Define inline functions which call the internal entry points.  */
324
/* Define inline functions which call the internal entry points.  */
325
325
326
__BEGIN_NAMESPACE_STD
326
__BEGIN_NAMESPACE_STD
327
extern __inline double
327
__extern_inline double
328
__NTH (strtod (__const char *__restrict __nptr, char **__restrict __endptr))
328
__NTH (strtod (__const char *__restrict __nptr, char **__restrict __endptr))
329
{
329
{
330
  return __strtod_internal (__nptr, __endptr, 0);
330
  return __strtod_internal (__nptr, __endptr, 0);
331
}
331
}
332
extern __inline long int
332
__extern_inline long int
333
__NTH (strtol (__const char *__restrict __nptr, char **__restrict __endptr,
333
__NTH (strtol (__const char *__restrict __nptr, char **__restrict __endptr,
334
	       int __base))
334
	       int __base))
335
{
335
{
336
  return __strtol_internal (__nptr, __endptr, __base, 0);
336
  return __strtol_internal (__nptr, __endptr, __base, 0);
337
}
337
}
338
extern __inline unsigned long int
338
__extern_inline unsigned long int
339
__NTH (strtoul (__const char *__restrict __nptr, char **__restrict __endptr,
339
__NTH (strtoul (__const char *__restrict __nptr, char **__restrict __endptr,
340
		int __base))
340
		int __base))
341
{
341
{
Lines 345-357 __END_NAMESPACE_STD Link Here
345
345
346
# ifdef __USE_ISOC99
346
# ifdef __USE_ISOC99
347
__BEGIN_NAMESPACE_C99
347
__BEGIN_NAMESPACE_C99
348
extern __inline float
348
__extern_inline float
349
__NTH (strtof (__const char *__restrict __nptr, char **__restrict __endptr))
349
__NTH (strtof (__const char *__restrict __nptr, char **__restrict __endptr))
350
{
350
{
351
  return __strtof_internal (__nptr, __endptr, 0);
351
  return __strtof_internal (__nptr, __endptr, 0);
352
}
352
}
353
#  ifndef __LDBL_COMPAT
353
#  ifndef __LDBL_COMPAT
354
extern __inline long double
354
__extern_inline long double
355
__NTH (strtold (__const char *__restrict __nptr, char **__restrict __endptr))
355
__NTH (strtold (__const char *__restrict __nptr, char **__restrict __endptr))
356
{
356
{
357
  return __strtold_internal (__nptr, __endptr, 0);
357
  return __strtold_internal (__nptr, __endptr, 0);
Lines 361-373 __END_NAMESPACE_C99 Link Here
361
# endif
361
# endif
362
362
363
# ifdef __USE_BSD
363
# ifdef __USE_BSD
364
__extension__ extern __inline long long int
364
__extension__ __extern_inline long long int
365
__NTH (strtoq (__const char *__restrict __nptr, char **__restrict __endptr,
365
__NTH (strtoq (__const char *__restrict __nptr, char **__restrict __endptr,
366
	       int __base))
366
	       int __base))
367
{
367
{
368
  return __strtoll_internal (__nptr, __endptr, __base, 0);
368
  return __strtoll_internal (__nptr, __endptr, __base, 0);
369
}
369
}
370
__extension__ extern __inline unsigned long long int
370
__extension__ __extern_inline unsigned long long int
371
__NTH (strtouq (__const char *__restrict __nptr, char **__restrict __endptr,
371
__NTH (strtouq (__const char *__restrict __nptr, char **__restrict __endptr,
372
		int __base))
372
		int __base))
373
{
373
{
Lines 377-389 __NTH (strtouq (__const char *__restrict Link Here
377
377
378
# if defined __USE_MISC || defined __USE_ISOC99
378
# if defined __USE_MISC || defined __USE_ISOC99
379
__BEGIN_NAMESPACE_C99
379
__BEGIN_NAMESPACE_C99
380
__extension__ extern __inline long long int
380
__extension__ __extern_inline long long int
381
__NTH (strtoll (__const char *__restrict __nptr, char **__restrict __endptr,
381
__NTH (strtoll (__const char *__restrict __nptr, char **__restrict __endptr,
382
		int __base))
382
		int __base))
383
{
383
{
384
  return __strtoll_internal (__nptr, __endptr, __base, 0);
384
  return __strtoll_internal (__nptr, __endptr, __base, 0);
385
}
385
}
386
__extension__ extern __inline unsigned long long int
386
__extension__ __extern_inline unsigned long long int
387
__NTH (strtoull (__const char * __restrict __nptr, char **__restrict __endptr,
387
__NTH (strtoull (__const char * __restrict __nptr, char **__restrict __endptr,
388
		 int __base))
388
		 int __base))
389
{
389
{
Lines 393-409 __END_NAMESPACE_C99 Link Here
393
# endif
393
# endif
394
394
395
__BEGIN_NAMESPACE_STD
395
__BEGIN_NAMESPACE_STD
396
extern __inline double
396
__extern_inline double
397
__NTH (atof (__const char *__nptr))
397
__NTH (atof (__const char *__nptr))
398
{
398
{
399
  return strtod (__nptr, (char **) NULL);
399
  return strtod (__nptr, (char **) NULL);
400
}
400
}
401
extern __inline int
401
__extern_inline int
402
__NTH (atoi (__const char *__nptr))
402
__NTH (atoi (__const char *__nptr))
403
{
403
{
404
  return (int) strtol (__nptr, (char **) NULL, 10);
404
  return (int) strtol (__nptr, (char **) NULL, 10);
405
}
405
}
406
extern __inline long int
406
__extern_inline long int
407
__NTH (atol (__const char *__nptr))
407
__NTH (atol (__const char *__nptr))
408
{
408
{
409
  return strtol (__nptr, (char **) NULL, 10);
409
  return strtol (__nptr, (char **) NULL, 10);
Lines 412-418 __END_NAMESPACE_STD Link Here
412
412
413
# if defined __USE_MISC || defined __USE_ISOC99
413
# if defined __USE_MISC || defined __USE_ISOC99
414
__BEGIN_NAMESPACE_C99
414
__BEGIN_NAMESPACE_C99
415
__extension__ extern __inline long long int
415
__extension__ __extern_inline long long int
416
__NTH (atoll (__const char *__nptr))
416
__NTH (atoll (__const char *__nptr))
417
{
417
{
418
  return strtoll (__nptr, (char **) NULL, 10);
418
  return strtoll (__nptr, (char **) NULL, 10);
(-)libc/stdlib/bits/stdlib.h.jj (-8 / +10 lines)
Lines 1-5 Link Here
1
/* Checking macros for stdlib functions.
1
/* Checking macros for stdlib functions.
2
   Copyright (C) 2005 Free Software Foundation, Inc.
2
   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 28-34 extern char *__REDIRECT_NTH (__realpath_ Link Here
28
			     (__const char *__restrict __name,
28
			     (__const char *__restrict __name,
29
			      char *__restrict __resolved), realpath) __wur;
29
			      char *__restrict __resolved), realpath) __wur;
30
30
31
extern __always_inline __wur char *
31
__extern_always_inline __wur char *
32
__NTH (realpath (__const char *__restrict __name, char *__restrict __resolved))
32
__NTH (realpath (__const char *__restrict __name, char *__restrict __resolved))
33
{
33
{
34
  if (__bos (__resolved) != (size_t) -1)
34
  if (__bos (__resolved) != (size_t) -1)
Lines 44-50 extern int __REDIRECT_NTH (__ptsname_r_a Link Here
44
					       size_t __buflen), ptsname_r)
44
					       size_t __buflen), ptsname_r)
45
     __nonnull ((2));
45
     __nonnull ((2));
46
46
47
extern __always_inline int
47
__extern_always_inline int
48
__NTH (ptsname_r (int __fd, char *__buf, size_t __buflen))
48
__NTH (ptsname_r (int __fd, char *__buf, size_t __buflen))
49
{
49
{
50
  if (__bos (__buf) != (size_t) -1
50
  if (__bos (__buf) != (size_t) -1
Lines 59-65 extern int __wctomb_chk (char *__s, wcha Link Here
59
extern int __REDIRECT_NTH (__wctomb_alias, (char *__s, wchar_t __wchar),
59
extern int __REDIRECT_NTH (__wctomb_alias, (char *__s, wchar_t __wchar),
60
			   wctomb) __wur;
60
			   wctomb) __wur;
61
61
62
extern __always_inline __wur int
62
__extern_always_inline __wur int
63
__NTH (wctomb (char *__s, wchar_t __wchar))
63
__NTH (wctomb (char *__s, wchar_t __wchar))
64
{
64
{
65
  /* We would have to include <limits.h> to get a definition of MB_LEN_MAX.
65
  /* We would have to include <limits.h> to get a definition of MB_LEN_MAX.
Lines 83-89 extern size_t __REDIRECT_NTH (__mbstowcs Link Here
83
			       __const char *__restrict __src,
83
			       __const char *__restrict __src,
84
			       size_t __len), mbstowcs);
84
			       size_t __len), mbstowcs);
85
85
86
extern __always_inline size_t
86
__extern_always_inline size_t
87
__NTH (mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src,
87
__NTH (mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src,
88
		 size_t __len))
88
		 size_t __len))
89
{
89
{
Lines 104-110 extern size_t __REDIRECT_NTH (__wcstombs Link Here
104
			       __const wchar_t *__restrict __src,
104
			       __const wchar_t *__restrict __src,
105
			       size_t __len), wcstombs);
105
			       size_t __len), wcstombs);
106
106
107
extern __always_inline size_t
107
__extern_always_inline size_t
108
__NTH (wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src,
108
__NTH (wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src,
109
		 size_t __len))
109
		 size_t __len))
110
{
110
{
111
    --- libc/stdlib/gmp.h.jj	2002-08-27 00:39:44.000000000 +0200
111
    --- libc/stdlib/gmp.h.jj	2002-08-27 00:39:44.000000000 +0200
Lines 1-6 Link Here
1
/* gmp.h -- Definitions for GNU multiple precision functions.
1
/* gmp.h -- Definitions for GNU multiple precision functions.
2
2
3
Copyright (C) 1991, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
3
Copyright (C) 1991, 1993, 1994, 1995, 1996, 2006 Free Software Foundation, Inc.
4
4
5
This file is part of the GNU MP Library.
5
This file is part of the GNU MP Library.
6
6
Lines 21-26 MA 02111-1307, USA. */ Link Here
21
21
22
#ifndef __GMP_H__
22
#ifndef __GMP_H__
23
23
24
#include <features.h>
25
24
#ifndef __GNU_MP__
26
#ifndef __GNU_MP__
25
#define __GNU_MP__ 2
27
#define __GNU_MP__ 2
26
#define __need_size_t
28
#define __need_size_t
Lines 41-47 MA 02111-1307, USA. */ Link Here
41
43
42
#ifndef _EXTERN_INLINE
44
#ifndef _EXTERN_INLINE
43
#ifdef __GNUC__
45
#ifdef __GNUC__
44
#define _EXTERN_INLINE extern __inline__
46
#define _EXTERN_INLINE __extern_inline
45
#else
47
#else
46
#define _EXTERN_INLINE static
48
#define _EXTERN_INLINE static
47
#endif
49
#endif
(-)libc/ctype/ctype.h.jj (-3 / +3 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004
1
/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004,2006
2
   	Free Software Foundation, Inc.
2
   	Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
Lines 187-199 __exctype (_tolower); Link Here
187
# endif
187
# endif
188
188
189
# ifdef __USE_EXTERN_INLINES
189
# ifdef __USE_EXTERN_INLINES
190
extern __inline int
190
__extern_inline int
191
__NTH (tolower (int __c))
191
__NTH (tolower (int __c))
192
{
192
{
193
  return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
193
  return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
194
}
194
}
195
195
196
extern __inline int
196
__extern_inline int
197
__NTH (toupper (int __c))
197
__NTH (toupper (int __c))
198
{
198
{
199
  return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
199
  return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
(-)libc/nptl/sysdeps/pthread/bits/libc-lock.h.jj (-2 / +3 lines)
Lines 1-5 Link Here
1
/* libc-internal interface for mutex locks.  NPTL version.
1
/* libc-internal interface for mutex locks.  NPTL version.
2
   Copyright (C) 1996-2001, 2002, 2003, 2005 Free Software Foundation, Inc.
2
   Copyright (C) 1996-2001, 2002, 2003, 2005, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
5
5
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 408-414 extern void _pthread_cleanup_pop_restore Link Here
408
409
409
410
410
/* Normal cleanup handling, based on C cleanup attribute.  */
411
/* Normal cleanup handling, based on C cleanup attribute.  */
411
extern __inline void
412
__extern_inline void
412
__libc_cleanup_routine (struct __pthread_cleanup_frame *f)
413
__libc_cleanup_routine (struct __pthread_cleanup_frame *f)
413
{
414
{
414
  if (f->__do_it)
415
  if (f->__do_it)
(-)libc/nptl/sysdeps/pthread/pthread.h.jj (-2 / +2 lines)
Lines 572-578 class __pthread_cleanup_class Link Here
572
   function the compiler is free to decide inlining the change when
572
   function the compiler is free to decide inlining the change when
573
   needed or fall back on the copy which must exist somewhere
573
   needed or fall back on the copy which must exist somewhere
574
   else.  */
574
   else.  */
575
extern __inline void
575
__extern_inline void
576
__pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame)
576
__pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame)
577
{
577
{
578
  if (__frame->__do_it)
578
  if (__frame->__do_it)
Lines 1103-1109 extern int pthread_atfork (void (*__prep Link Here
1103
1103
1104
#ifdef __USE_EXTERN_INLINES
1104
#ifdef __USE_EXTERN_INLINES
1105
/* Optimizations.  */
1105
/* Optimizations.  */
1106
extern __inline int
1106
__extern_inline int
1107
__NTH (pthread_equal (pthread_t __thread1, pthread_t __thread2))
1107
__NTH (pthread_equal (pthread_t __thread1, pthread_t __thread2))
1108
{
1108
{
1109
  return __thread1 == __thread2;
1109
  return __thread1 == __thread2;
(-)libc/nptl/sysdeps/pthread/allocalim.h.jj (-2 / +1 lines)
Lines 21-28 Link Here
21
#include <limits.h>
21
#include <limits.h>
22
22
23
23
24
extern int
24
__extern_always_inline int
25
__always_inline
26
__libc_use_alloca (size_t size)
25
__libc_use_alloca (size_t size)
27
{
26
{
28
  return (__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
27
  return (__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
(-)libc/nptl/sysdeps/pthread/gai_misc.h.jj (-2 / +2 lines)
Lines 76-82 Link Here
76
#define gai_start_notify_thread __gai_start_notify_thread
76
#define gai_start_notify_thread __gai_start_notify_thread
77
#define gai_create_helper_thread __gai_create_helper_thread
77
#define gai_create_helper_thread __gai_create_helper_thread
78
78
79
extern inline void
79
__extern_inline void
80
__gai_start_notify_thread (void)
80
__gai_start_notify_thread (void)
81
{
81
{
82
  sigset_t ss;
82
  sigset_t ss;
Lines 85-91 __gai_start_notify_thread (void) Link Here
85
  INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, &ss, NULL, _NSIG / 8);
85
  INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, &ss, NULL, _NSIG / 8);
86
}
86
}
87
87
88
extern inline int
88
__extern_inline int
89
__gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
89
__gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
90
			    void *arg)
90
			    void *arg)
91
{
91
{
(-)libc/nptl/sysdeps/unix/sysv/linux/aio_misc.h.jj (-2 / +2 lines)
Lines 27-33 Link Here
27
# define aio_start_notify_thread __aio_start_notify_thread
27
# define aio_start_notify_thread __aio_start_notify_thread
28
# define aio_create_helper_thread __aio_create_helper_thread
28
# define aio_create_helper_thread __aio_create_helper_thread
29
29
30
extern inline void
30
__extern_inline void
31
__aio_start_notify_thread (void)
31
__aio_start_notify_thread (void)
32
{
32
{
33
  sigset_t ss;
33
  sigset_t ss;
Lines 36-42 __aio_start_notify_thread (void) Link Here
36
  INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, &ss, NULL, _NSIG / 8);
36
  INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_SETMASK, &ss, NULL, _NSIG / 8);
37
}
37
}
38
38
39
extern inline int
39
__extern_inline int
40
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
40
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
41
			    void *arg)
41
			    void *arg)
42
{
42
{
(-)libc/resolv/gai_misc.c.jj (-1 / +1 lines)
Lines 30-36 Link Here
30
#ifndef gai_create_helper_thread
30
#ifndef gai_create_helper_thread
31
# define gai_create_helper_thread __gai_create_helper_thread
31
# define gai_create_helper_thread __gai_create_helper_thread
32
32
33
extern inline int
33
__extern_inline int
34
__gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
34
__gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
35
			    void *arg)
35
			    void *arg)
36
{
36
{
(-)libc/bits/mathinline.h.jj (-1 / +1 lines)
Lines 1-6 Link Here
1
/* This file should provide inline versions of math functions.
1
/* This file should provide inline versions of math functions.
2
2
3
   Surround GCC-specific parts with #ifdef __GNUC__, and use `extern __inline'.
3
   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
4
4
5
   This file should define __MATH_INLINES if functions are actually defined as
5
   This file should define __MATH_INLINES if functions are actually defined as
6
   inlines.  */
6
   inlines.  */
(-)libc/bits/string.h.jj (-1 / +1 lines)
Lines 1-6 Link Here
1
/* This file should provide inline versions of string functions.
1
/* This file should provide inline versions of string functions.
2
2
3
   Surround GCC-specific parts with #ifdef __GNUC__, and use `extern __inline'.
3
   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
4
4
5
   This file should define __STRING_INLINES if functions are actually defined
5
   This file should define __STRING_INLINES if functions are actually defined
6
   as inlines.  */
6
   as inlines.  */
(-)libc/bits/sigset.h.jj (-2 / +3 lines)
Lines 1-5 Link Here
1
/* __sig_atomic_t, __sigset_t, and related definitions.  Generic/BSD version.
1
/* __sig_atomic_t, __sigset_t, and related definitions.  Generic/BSD version.
2
   Copyright (C) 1991, 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1991, 1992, 1994, 1996, 1997, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
5
5
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 38-44 typedef unsigned long int __sigset_t; Link Here
38
#define _SIGSET_H_fns 1
39
#define _SIGSET_H_fns 1
39
40
40
#ifndef _EXTERN_INLINE
41
#ifndef _EXTERN_INLINE
41
# define _EXTERN_INLINE extern __inline
42
# define _EXTERN_INLINE __extern_inline
42
#endif
43
#endif
43
44
44
/* Return a mask that includes SIG only.  The cast to `sigset_t' avoids
45
/* Return a mask that includes SIG only.  The cast to `sigset_t' avoids
(-)libc/misc/sys/cdefs.h.jj (+12 lines)
Lines 279-284 Link Here
279
# define __always_inline __inline
279
# define __always_inline __inline
280
#endif
280
#endif
281
281
282
/* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
283
   inline semantics.  */
284
#if __GNUC_PREREQ (4,3) && defined (__STDC_VERSION__) \
285
    && __STDC_VERSION__ >= 199901L
286
# define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
287
# define __extern_always_inline \
288
  extern __always_inline __inline __attribute__ ((__gnu_inline__))
289
#else
290
# define __extern_inline extern __inline
291
# define __extern_always_inline extern __always_inline
292
#endif
293
282
/* It is possible to compile containing GCC extensions even if GCC is
294
/* It is possible to compile containing GCC extensions even if GCC is
283
   run in pedantic mode if the uses are carefully marked using the
295
   run in pedantic mode if the uses are carefully marked using the
284
   `__extension__' keyword.  But this is not generally available before
296
   `__extension__' keyword.  But this is not generally available before
(-)libc/libio/bits/stdio.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Optimizing macros and inline functions for stdio functions.
1
/* Optimizing macros and inline functions for stdio functions.
2
   Copyright (C) 1998, 2000, 2001, 2004 Free Software Foundation, Inc.
2
   Copyright (C) 1998, 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 24-30 Link Here
24
#ifdef __cplusplus
24
#ifdef __cplusplus
25
# define __STDIO_INLINE inline
25
# define __STDIO_INLINE inline
26
#else
26
#else
27
# define __STDIO_INLINE extern __inline
27
# define __STDIO_INLINE __extern_inline
28
#endif
28
#endif
29
29
30
30
(-)libc/libio/bits/stdio2.h.jj (-4 / +4 lines)
Lines 1-5 Link Here
1
/* Checking macros for stdio functions.
1
/* Checking macros for stdio functions.
2
   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
2
   Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 75-81 extern int __vprintf_chk (int __flag, __ Link Here
75
extern char *__gets_chk (char *__str, size_t) __wur;
75
extern char *__gets_chk (char *__str, size_t) __wur;
76
extern char *__REDIRECT (__gets_alias, (char *__str), gets) __wur;
76
extern char *__REDIRECT (__gets_alias, (char *__str), gets) __wur;
77
77
78
extern __always_inline __wur char *
78
__extern_always_inline __wur char *
79
gets (char *__str)
79
gets (char *__str)
80
{
80
{
81
  if (__bos (__str) != (size_t) -1)
81
  if (__bos (__str) != (size_t) -1)
Lines 89-95 extern char *__REDIRECT (__fgets_alias, Link Here
89
			 (char *__restrict __s, int __n,
89
			 (char *__restrict __s, int __n,
90
			  FILE *__restrict __stream), fgets) __wur;
90
			  FILE *__restrict __stream), fgets) __wur;
91
91
92
extern __always_inline __wur char *
92
__extern_always_inline __wur char *
93
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
93
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
94
{
94
{
95
  if (__bos (__s) != (size_t) -1
95
  if (__bos (__s) != (size_t) -1
Lines 105-111 extern char *__REDIRECT (__fgets_unlocke Link Here
105
			 (char *__restrict __s, int __n,
105
			 (char *__restrict __s, int __n,
106
			  FILE *__restrict __stream), fgets_unlocked) __wur;
106
			  FILE *__restrict __stream), fgets_unlocked) __wur;
107
107
108
extern __always_inline __wur char *
108
__extern_always_inline __wur char *
109
fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
109
fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
110
{
110
{
111
  if (__bos (__s) != (size_t) -1
111
  if (__bos (__s) != (size_t) -1
(-)libc/argp/argp.h.jj (-1 / +1 lines)
Lines 558-564 extern void *__argp_input (__const struc Link Here
558
# endif
558
# endif
559
559
560
# ifndef ARGP_EI
560
# ifndef ARGP_EI
561
#  define ARGP_EI extern __inline__
561
#  define ARGP_EI __extern_inline
562
# endif
562
# endif
563
563
564
ARGP_EI void
564
ARGP_EI void
(-)libc/argp/argp-fmtstream.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Word-wrapping and line-truncating streams.
1
/* Word-wrapping and line-truncating streams.
2
   Copyright (C) 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
   Written by Miles Bader <miles@gnu.ai.mit.edu>.
4
   Written by Miles Bader <miles@gnu.ai.mit.edu>.
5
5
Lines 203-209 extern int __argp_fmtstream_ensure (argp Link Here
203
#endif
203
#endif
204
204
205
#ifndef ARGP_FS_EI
205
#ifndef ARGP_FS_EI
206
#define ARGP_FS_EI extern inline
206
#define ARGP_FS_EI __extern_inline
207
#endif
207
#endif
208
208
209
ARGP_FS_EI size_t
209
ARGP_FS_EI size_t
(-)libc/locale/programs/locfile.c.jj (+5 lines)
Lines 33-38 Link Here
33
#include "locfile.h"
33
#include "locfile.h"
34
#include "simple-hash.h"
34
#include "simple-hash.h"
35
35
36
/* This prototype is needed to export locfile_hash from this object
37
   when using ISO C99 inline semantics.  */
38
struct keyword_t;
39
const struct keyword_t *locfile_hash (const char *str, unsigned int len);
40
36
#include "locfile-kw.h"
41
#include "locfile-kw.h"
37
42
38
43
(-)libc/locale/programs/charmap.c.jj (+4 lines)
Lines 35-40 Link Here
35
35
36
#include <assert.h>
36
#include <assert.h>
37
37
38
/* This prototype is needed to export charmap_hash from this object
39
   when using ISO C99 inline semantics.  */
40
struct keyword_t;
41
const struct keyword_t *charmap_hash (const char *str, unsigned int len);
38
42
39
/* Define the lookup function.  */
43
/* Define the lookup function.  */
40
#include "charmap-kw.h"
44
#include "charmap-kw.h"
(-)libc/io/sys/stat.h.jj (-10 / +10 lines)
Lines 430-457 extern int __xmknodat (int __ver, int __ Link Here
430
#if defined __GNUC__ && __GNUC__ >= 2
430
#if defined __GNUC__ && __GNUC__ >= 2
431
/* Inlined versions of the real stat and mknod functions.  */
431
/* Inlined versions of the real stat and mknod functions.  */
432
432
433
extern __inline__ int
433
__extern_inline int
434
__NTH (stat (__const char *__path, struct stat *__statbuf))
434
__NTH (stat (__const char *__path, struct stat *__statbuf))
435
{
435
{
436
  return __xstat (_STAT_VER, __path, __statbuf);
436
  return __xstat (_STAT_VER, __path, __statbuf);
437
}
437
}
438
438
439
# if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
439
# if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
440
extern __inline__ int
440
__extern_inline int
441
__NTH (lstat (__const char *__path, struct stat *__statbuf))
441
__NTH (lstat (__const char *__path, struct stat *__statbuf))
442
{
442
{
443
  return __lxstat (_STAT_VER, __path, __statbuf);
443
  return __lxstat (_STAT_VER, __path, __statbuf);
444
}
444
}
445
# endif
445
# endif
446
446
447
extern __inline__ int
447
__extern_inline int
448
__NTH (fstat (int __fd, struct stat *__statbuf))
448
__NTH (fstat (int __fd, struct stat *__statbuf))
449
{
449
{
450
  return __fxstat (_STAT_VER, __fd, __statbuf);
450
  return __fxstat (_STAT_VER, __fd, __statbuf);
451
}
451
}
452
452
453
# ifdef __USE_ATFILE
453
# ifdef __USE_ATFILE
454
extern __inline__ int
454
__extern_inline int
455
__NTH (fstatat (int __fd, __const char *__filename, struct stat *__statbuf,
455
__NTH (fstatat (int __fd, __const char *__filename, struct stat *__statbuf,
456
		int __flag))
456
		int __flag))
457
{
457
{
Lines 460-466 __NTH (fstatat (int __fd, __const char * Link Here
460
# endif
460
# endif
461
461
462
# if defined __USE_MISC || defined __USE_BSD
462
# if defined __USE_MISC || defined __USE_BSD
463
extern __inline__ int
463
__extern_inline int
464
__NTH (mknod (__const char *__path, __mode_t __mode, __dev_t __dev))
464
__NTH (mknod (__const char *__path, __mode_t __mode, __dev_t __dev))
465
{
465
{
466
  return __xmknod (_MKNOD_VER, __path, __mode, &__dev);
466
  return __xmknod (_MKNOD_VER, __path, __mode, &__dev);
Lines 468-474 __NTH (mknod (__const char *__path, __mo Link Here
468
# endif
468
# endif
469
469
470
# ifdef __USE_ATFILE
470
# ifdef __USE_ATFILE
471
extern __inline__ int
471
__extern_inline int
472
__NTH (mknodat (int __fd, __const char *__path, __mode_t __mode,
472
__NTH (mknodat (int __fd, __const char *__path, __mode_t __mode,
473
		__dev_t __dev))
473
		__dev_t __dev))
474
{
474
{
Lines 479-506 __NTH (mknodat (int __fd, __const char * Link Here
479
# if defined __USE_LARGEFILE64 \
479
# if defined __USE_LARGEFILE64 \
480
  && (! defined __USE_FILE_OFFSET64 \
480
  && (! defined __USE_FILE_OFFSET64 \
481
      || (defined __REDIRECT_NTH && defined __OPTIMIZE__))
481
      || (defined __REDIRECT_NTH && defined __OPTIMIZE__))
482
extern __inline__ int
482
__extern_inline int
483
__NTH (stat64 (__const char *__path, struct stat64 *__statbuf))
483
__NTH (stat64 (__const char *__path, struct stat64 *__statbuf))
484
{
484
{
485
  return __xstat64 (_STAT_VER, __path, __statbuf);
485
  return __xstat64 (_STAT_VER, __path, __statbuf);
486
}
486
}
487
487
488
#  if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
488
#  if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
489
extern __inline__ int
489
__extern_inline int
490
__NTH (lstat64 (__const char *__path, struct stat64 *__statbuf))
490
__NTH (lstat64 (__const char *__path, struct stat64 *__statbuf))
491
{
491
{
492
  return __lxstat64 (_STAT_VER, __path, __statbuf);
492
  return __lxstat64 (_STAT_VER, __path, __statbuf);
493
}
493
}
494
#  endif
494
#  endif
495
495
496
extern __inline__ int
496
__extern_inline int
497
__NTH (fstat64 (int __fd, struct stat64 *__statbuf))
497
__NTH (fstat64 (int __fd, struct stat64 *__statbuf))
498
{
498
{
499
  return __fxstat64 (_STAT_VER, __fd, __statbuf);
499
  return __fxstat64 (_STAT_VER, __fd, __statbuf);
500
}
500
}
501
501
502
#  ifdef __USE_GNU
502
#  ifdef __USE_GNU
503
extern __inline__ int
503
__extern_inline int
504
__NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
504
__NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
505
		  int __flag))
505
		  int __flag))
506
{
506
{
(-)libc/wcsmbs/wchar.h.jj (-10 / +10 lines)
Lines 326-344 __END_NAMESPACE_C99 Link Here
326
   locales must use ASCII encoding for the values in the ASCII range
326
   locales must use ASCII encoding for the values in the ASCII range
327
   and because the wchar_t encoding is always ISO 10646.  */
327
   and because the wchar_t encoding is always ISO 10646.  */
328
extern wint_t __btowc_alias (int __c) __asm ("btowc");
328
extern wint_t __btowc_alias (int __c) __asm ("btowc");
329
extern __inline wint_t
329
__extern_inline wint_t
330
__NTH (btowc (int __c))
330
__NTH (btowc (int __c))
331
{ return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
331
{ return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
332
	  ? (wint_t) __c : __btowc_alias (__c)); }
332
	  ? (wint_t) __c : __btowc_alias (__c)); }
333
333
334
extern int __wctob_alias (wint_t __c) __asm ("wctob");
334
extern int __wctob_alias (wint_t __c) __asm ("wctob");
335
extern __inline int
335
__extern_inline int
336
__NTH (wctob (wint_t __wc))
336
__NTH (wctob (wint_t __wc))
337
{ return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f'
337
{ return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f'
338
	  ? (int) __wc : __wctob_alias (__wc)); }
338
	  ? (int) __wc : __wctob_alias (__wc)); }
339
# endif
339
# endif
340
340
341
extern __inline size_t
341
__extern_inline size_t
342
__NTH (mbrlen (__const char *__restrict __s, size_t __n,
342
__NTH (mbrlen (__const char *__restrict __s, size_t __n,
343
	       mbstate_t *__restrict __ps))
343
	       mbstate_t *__restrict __ps))
344
{ return (__ps != NULL
344
{ return (__ps != NULL
Lines 548-585 extern unsigned long long int __wcstoull Link Here
548
/* Define inline functions which call the internal entry points.  */
548
/* Define inline functions which call the internal entry points.  */
549
__BEGIN_NAMESPACE_C99
549
__BEGIN_NAMESPACE_C99
550
550
551
extern __inline double
551
__extern_inline double
552
__NTH (wcstod (__const wchar_t *__restrict __nptr,
552
__NTH (wcstod (__const wchar_t *__restrict __nptr,
553
	       wchar_t **__restrict __endptr))
553
	       wchar_t **__restrict __endptr))
554
{ return __wcstod_internal (__nptr, __endptr, 0); }
554
{ return __wcstod_internal (__nptr, __endptr, 0); }
555
extern __inline long int
555
__extern_inline long int
556
__NTH (wcstol (__const wchar_t *__restrict __nptr,
556
__NTH (wcstol (__const wchar_t *__restrict __nptr,
557
	       wchar_t **__restrict __endptr, int __base))
557
	       wchar_t **__restrict __endptr, int __base))
558
{ return __wcstol_internal (__nptr, __endptr, __base, 0); }
558
{ return __wcstol_internal (__nptr, __endptr, __base, 0); }
559
extern __inline unsigned long int
559
__extern_inline unsigned long int
560
__NTH (wcstoul (__const wchar_t *__restrict __nptr,
560
__NTH (wcstoul (__const wchar_t *__restrict __nptr,
561
		wchar_t **__restrict __endptr, int __base))
561
		wchar_t **__restrict __endptr, int __base))
562
{ return __wcstoul_internal (__nptr, __endptr, __base, 0); }
562
{ return __wcstoul_internal (__nptr, __endptr, __base, 0); }
563
__END_NAMESPACE_C99
563
__END_NAMESPACE_C99
564
564
565
# ifdef __USE_GNU
565
# ifdef __USE_GNU
566
extern __inline float
566
__extern_inline float
567
__NTH (wcstof (__const wchar_t *__restrict __nptr,
567
__NTH (wcstof (__const wchar_t *__restrict __nptr,
568
	       wchar_t **__restrict __endptr))
568
	       wchar_t **__restrict __endptr))
569
{ return __wcstof_internal (__nptr, __endptr, 0); }
569
{ return __wcstof_internal (__nptr, __endptr, 0); }
570
#  ifndef __LDBL_COMPAT
570
#  ifndef __LDBL_COMPAT
571
extern __inline long double
571
__extern_inline long double
572
__NTH (wcstold (__const wchar_t *__restrict __nptr,
572
__NTH (wcstold (__const wchar_t *__restrict __nptr,
573
		wchar_t **__restrict __endptr))
573
		wchar_t **__restrict __endptr))
574
{ return __wcstold_internal (__nptr, __endptr, 0); }
574
{ return __wcstold_internal (__nptr, __endptr, 0); }
575
#  endif
575
#  endif
576
__extension__
576
__extension__
577
extern __inline long long int
577
__extern_inline long long int
578
__NTH (wcstoq (__const wchar_t *__restrict __nptr,
578
__NTH (wcstoq (__const wchar_t *__restrict __nptr,
579
	       wchar_t **__restrict __endptr, int __base))
579
	       wchar_t **__restrict __endptr, int __base))
580
{ return __wcstoll_internal (__nptr, __endptr, __base, 0); }
580
{ return __wcstoll_internal (__nptr, __endptr, __base, 0); }
581
__extension__
581
__extension__
582
extern __inline unsigned long long int
582
__extern_inline unsigned long long int
583
__NTH (wcstouq (__const wchar_t *__restrict __nptr,
583
__NTH (wcstouq (__const wchar_t *__restrict __nptr,
584
		wchar_t **__restrict __endptr, int __base))
584
		wchar_t **__restrict __endptr, int __base))
585
{ return __wcstoull_internal (__nptr, __endptr, __base, 0); }
585
{ return __wcstoull_internal (__nptr, __endptr, __base, 0); }
(-)libc/wcsmbs/bits/wchar2.h.jj (-17 / +17 lines)
Lines 30-36 extern wchar_t *__REDIRECT_NTH (__wmemcp Link Here
30
				 __const wchar_t *__restrict __s2, size_t __n),
30
				 __const wchar_t *__restrict __s2, size_t __n),
31
				wmemcpy);
31
				wmemcpy);
32
32
33
extern __always_inline wchar_t *
33
__extern_always_inline wchar_t *
34
__NTH (wmemcpy (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
34
__NTH (wmemcpy (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
35
		size_t __n))
35
		size_t __n))
36
{
36
{
Lines 46-52 extern wchar_t *__REDIRECT_NTH (__wmemmo Link Here
46
						   __const wchar_t *__s2,
46
						   __const wchar_t *__s2,
47
						   size_t __n), wmemmove);
47
						   size_t __n), wmemmove);
48
48
49
extern __always_inline wchar_t *
49
__extern_always_inline wchar_t *
50
__NTH (wmemmove (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
50
__NTH (wmemmove (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
51
		 size_t __n))
51
		 size_t __n))
52
{
52
{
Lines 65-71 extern wchar_t *__REDIRECT_NTH (__wmempc Link Here
65
				 __const wchar_t *__restrict __s2,
65
				 __const wchar_t *__restrict __s2,
66
				 size_t __n), wmempcpy);
66
				 size_t __n), wmempcpy);
67
67
68
extern __always_inline wchar_t *
68
__extern_always_inline wchar_t *
69
__NTH (wmempcpy (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
69
__NTH (wmempcpy (wchar_t *__restrict __s1, __const wchar_t *__restrict __s2,
70
		 size_t __n))
70
		 size_t __n))
71
{
71
{
Lines 81-87 extern wchar_t *__wmemset_chk (wchar_t * Link Here
81
extern wchar_t *__REDIRECT_NTH (__wmemset_alias, (wchar_t *__s, wchar_t __c,
81
extern wchar_t *__REDIRECT_NTH (__wmemset_alias, (wchar_t *__s, wchar_t __c,
82
						  size_t __n), wmemset);
82
						  size_t __n), wmemset);
83
83
84
extern __always_inline wchar_t *
84
__extern_always_inline wchar_t *
85
__NTH (wmemset (wchar_t *__restrict __s, wchar_t __c, size_t __n))
85
__NTH (wmemset (wchar_t *__restrict __s, wchar_t __c, size_t __n))
86
{
86
{
87
  if (__bos0 (__s) != (size_t) -1)
87
  if (__bos0 (__s) != (size_t) -1)
Lines 97-103 extern wchar_t *__REDIRECT_NTH (__wcscpy Link Here
97
				(wchar_t *__restrict __dest,
97
				(wchar_t *__restrict __dest,
98
				 __const wchar_t *__restrict __src), wcscpy);
98
				 __const wchar_t *__restrict __src), wcscpy);
99
99
100
extern __always_inline wchar_t *
100
__extern_always_inline wchar_t *
101
__NTH (wcscpy (wchar_t *__dest, __const wchar_t *__src))
101
__NTH (wcscpy (wchar_t *__dest, __const wchar_t *__src))
102
{
102
{
103
  if (__bos (__dest) != (size_t) -1)
103
  if (__bos (__dest) != (size_t) -1)
Lines 112-118 extern wchar_t *__REDIRECT_NTH (__wcpcpy Link Here
112
						 __const wchar_t *__src),
112
						 __const wchar_t *__src),
113
				wcpcpy);
113
				wcpcpy);
114
114
115
extern __always_inline wchar_t *
115
__extern_always_inline wchar_t *
116
__NTH (wcpcpy (wchar_t *__dest, __const wchar_t *__src))
116
__NTH (wcpcpy (wchar_t *__dest, __const wchar_t *__src))
117
{
117
{
118
  if (__bos (__dest) != (size_t) -1)
118
  if (__bos (__dest) != (size_t) -1)
Lines 129-135 extern wchar_t *__REDIRECT_NTH (__wcsncp Link Here
129
				 __const wchar_t *__restrict __src,
129
				 __const wchar_t *__restrict __src,
130
				 size_t __n), wcsncpy);
130
				 size_t __n), wcsncpy);
131
131
132
extern __always_inline wchar_t *
132
__extern_always_inline wchar_t *
133
__NTH (wcsncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n))
133
__NTH (wcsncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n))
134
{
134
{
135
  if (__bos (__dest) != (size_t) -1
135
  if (__bos (__dest) != (size_t) -1
Lines 148-154 extern wchar_t *__REDIRECT_NTH (__wcpncp Link Here
148
				 __const wchar_t *__restrict __src,
148
				 __const wchar_t *__restrict __src,
149
				 size_t __n), wcpncpy);
149
				 size_t __n), wcpncpy);
150
150
151
extern __always_inline wchar_t *
151
__extern_always_inline wchar_t *
152
__NTH (wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n))
152
__NTH (wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n))
153
{
153
{
154
  if (__bos (__dest) != (size_t) -1
154
  if (__bos (__dest) != (size_t) -1
Lines 166-172 extern wchar_t *__REDIRECT_NTH (__wcscat Link Here
166
				(wchar_t *__restrict __dest,
166
				(wchar_t *__restrict __dest,
167
				 __const wchar_t *__restrict __src), wcscat);
167
				 __const wchar_t *__restrict __src), wcscat);
168
168
169
extern __always_inline wchar_t *
169
__extern_always_inline wchar_t *
170
__NTH (wcscat (wchar_t *__dest, __const wchar_t *__src))
170
__NTH (wcscat (wchar_t *__dest, __const wchar_t *__src))
171
{
171
{
172
  if (__bos (__dest) != (size_t) -1)
172
  if (__bos (__dest) != (size_t) -1)
Lines 183-189 extern wchar_t *__REDIRECT_NTH (__wcsnca Link Here
183
				 __const wchar_t *__restrict __src,
183
				 __const wchar_t *__restrict __src,
184
				 size_t __n), wcsncat);
184
				 size_t __n), wcsncat);
185
185
186
extern __always_inline wchar_t *
186
__extern_always_inline wchar_t *
187
__NTH (wcsncat (wchar_t *__dest, __const wchar_t *__src, size_t __n))
187
__NTH (wcsncat (wchar_t *__dest, __const wchar_t *__src, size_t __n))
188
{
188
{
189
  if (__bos (__dest) != (size_t) -1)
189
  if (__bos (__dest) != (size_t) -1)
Lines 246-252 extern wchar_t *__REDIRECT (__fgetws_ali Link Here
246
			    (wchar_t *__restrict __s, int __n,
246
			    (wchar_t *__restrict __s, int __n,
247
			     __FILE *__restrict __stream), fgetws) __wur;
247
			     __FILE *__restrict __stream), fgetws) __wur;
248
248
249
extern __always_inline __wur wchar_t *
249
__extern_always_inline __wur wchar_t *
250
fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
250
fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
251
{
251
{
252
  if (__bos (__s) != (size_t) -1
252
  if (__bos (__s) != (size_t) -1
Lines 264-270 extern wchar_t *__REDIRECT (__fgetws_unl Link Here
264
			     __FILE *__restrict __stream), fgetws_unlocked)
264
			     __FILE *__restrict __stream), fgetws_unlocked)
265
  __wur;
265
  __wur;
266
266
267
extern __always_inline __wur wchar_t *
267
__extern_always_inline __wur wchar_t *
268
fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
268
fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream)
269
{
269
{
270
  if (__bos (__s) != (size_t) -1
270
  if (__bos (__s) != (size_t) -1
Lines 281-287 extern size_t __REDIRECT_NTH (__wcrtomb_ Link Here
281
			      (char *__restrict __s, wchar_t __wchar,
281
			      (char *__restrict __s, wchar_t __wchar,
282
			       mbstate_t *__restrict __ps), wcrtomb) __wur;
282
			       mbstate_t *__restrict __ps), wcrtomb) __wur;
283
283
284
extern __always_inline __wur size_t
284
__extern_always_inline __wur size_t
285
__NTH (wcrtomb (char *__s, wchar_t __wchar, mbstate_t *__ps))
285
__NTH (wcrtomb (char *__s, wchar_t __wchar, mbstate_t *__ps))
286
{
286
{
287
  /* We would have to include <limits.h> to get a definition of MB_LEN_MAX.
287
  /* We would have to include <limits.h> to get a definition of MB_LEN_MAX.
Lines 307-313 extern size_t __REDIRECT_NTH (__mbsrtowc Link Here
307
			       size_t __len, mbstate_t *__restrict __ps),
307
			       size_t __len, mbstate_t *__restrict __ps),
308
			      mbsrtowcs);
308
			      mbsrtowcs);
309
309
310
extern __always_inline size_t
310
__extern_always_inline size_t
311
__NTH (mbsrtowcs (wchar_t *__restrict __dst, __const char **__restrict __src,
311
__NTH (mbsrtowcs (wchar_t *__restrict __dst, __const char **__restrict __src,
312
		  size_t __len, mbstate_t *__restrict __ps))
312
		  size_t __len, mbstate_t *__restrict __ps))
313
{
313
{
Lines 330-336 extern size_t __REDIRECT_NTH (__wcsrtomb Link Here
330
			       size_t __len, mbstate_t *__restrict __ps),
330
			       size_t __len, mbstate_t *__restrict __ps),
331
			      wcsrtombs);
331
			      wcsrtombs);
332
332
333
extern __always_inline size_t
333
__extern_always_inline size_t
334
__NTH (wcsrtombs (char *__restrict __dst, __const wchar_t **__restrict __src,
334
__NTH (wcsrtombs (char *__restrict __dst, __const wchar_t **__restrict __src,
335
		  size_t __len, mbstate_t *__restrict __ps))
335
		  size_t __len, mbstate_t *__restrict __ps))
336
{
336
{
Lines 352-358 extern size_t __REDIRECT_NTH (__mbsnrtow Link Here
352
			       size_t __len, mbstate_t *__restrict __ps),
352
			       size_t __len, mbstate_t *__restrict __ps),
353
			      mbsnrtowcs);
353
			      mbsnrtowcs);
354
354
355
extern __always_inline size_t
355
__extern_always_inline size_t
356
__NTH (mbsnrtowcs (wchar_t *__restrict __dst, __const char **__restrict __src,
356
__NTH (mbsnrtowcs (wchar_t *__restrict __dst, __const char **__restrict __src,
357
		   size_t __nmc, size_t __len, mbstate_t *__restrict __ps))
357
		   size_t __nmc, size_t __len, mbstate_t *__restrict __ps))
358
{
358
{
Lines 376-382 extern size_t __REDIRECT_NTH (__wcsnrtom Link Here
376
			       size_t __nwc, size_t __len,
376
			       size_t __nwc, size_t __len,
377
			       mbstate_t *__restrict __ps), wcsnrtombs);
377
			       mbstate_t *__restrict __ps), wcsnrtombs);
378
378
379
extern __always_inline size_t
379
__extern_always_inline size_t
380
__NTH (wcsnrtombs (char *__restrict __dst, __const wchar_t **__restrict __src,
380
__NTH (wcsnrtombs (char *__restrict __dst, __const wchar_t **__restrict __src,
381
		   size_t __nwc, size_t __len, mbstate_t *__restrict __ps))
381
		   size_t __nwc, size_t __len, mbstate_t *__restrict __ps))
382
{
382
{
(-)libc/socket/bits/socket2.h.jj (-3 / +3 lines)
Lines 1-5 Link Here
1
/* Checking macros for socket functions.
1
/* Checking macros for socket functions.
2
   Copyright (C) 2005 Free Software Foundation, Inc.
2
   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 26-32 extern ssize_t __recv_chk (int __fd, voi Link Here
26
extern ssize_t __REDIRECT (__recv_alias, (int __fd, void *__buf, size_t __n,
26
extern ssize_t __REDIRECT (__recv_alias, (int __fd, void *__buf, size_t __n,
27
					  int __flags), recv);
27
					  int __flags), recv);
28
28
29
extern __always_inline ssize_t
29
__extern_always_inline ssize_t
30
recv (int __fd, void *__buf, size_t __n, int __flags)
30
recv (int __fd, void *__buf, size_t __n, int __flags)
31
{
31
{
32
  if (__bos0 (__buf) != (size_t) -1
32
  if (__bos0 (__buf) != (size_t) -1
Lines 44-50 extern ssize_t __REDIRECT (__recvfrom_al Link Here
44
			    int __flags, __SOCKADDR_ARG __addr,
44
			    int __flags, __SOCKADDR_ARG __addr,
45
			    socklen_t *__restrict __addr_len), recvfrom);
45
			    socklen_t *__restrict __addr_len), recvfrom);
46
46
47
extern __always_inline ssize_t
47
__extern_always_inline ssize_t
48
recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
48
recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
49
	  __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
49
	  __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
50
{
50
{
(-)libc/posix/bits/unistd.h.jj (-14 / +14 lines)
Lines 26-32 extern ssize_t __read_chk (int __fd, voi Link Here
26
extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf,
26
extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf,
27
					  size_t __nbytes), read) __wur;
27
					  size_t __nbytes), read) __wur;
28
28
29
extern __always_inline __wur ssize_t
29
__extern_always_inline __wur ssize_t
30
read (int __fd, void *__buf, size_t __nbytes)
30
read (int __fd, void *__buf, size_t __nbytes)
31
{
31
{
32
  if (__bos0 (__buf) != (size_t) -1
32
  if (__bos0 (__buf) != (size_t) -1
Lines 48-54 extern ssize_t __REDIRECT (__pread64_ali Link Here
48
			    __off64_t __offset), pread64) __wur;
48
			    __off64_t __offset), pread64) __wur;
49
49
50
# ifndef __USE_FILE_OFFSET64
50
# ifndef __USE_FILE_OFFSET64
51
extern __always_inline __wur ssize_t
51
__extern_always_inline __wur ssize_t
52
pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
52
pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
53
{
53
{
54
  if (__bos0 (__buf) != (size_t) -1
54
  if (__bos0 (__buf) != (size_t) -1
Lines 57-63 pread (int __fd, void *__buf, size_t __n Link Here
57
  return __pread_alias (__fd, __buf, __nbytes, __offset);
57
  return __pread_alias (__fd, __buf, __nbytes, __offset);
58
}
58
}
59
# else
59
# else
60
extern __always_inline __wur ssize_t
60
__extern_always_inline __wur ssize_t
61
pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
61
pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
62
{
62
{
63
  if (__bos0 (__buf) != (size_t) -1
63
  if (__bos0 (__buf) != (size_t) -1
Lines 68-74 pread (int __fd, void *__buf, size_t __n Link Here
68
# endif
68
# endif
69
69
70
# ifdef __USE_LARGEFILE64
70
# ifdef __USE_LARGEFILE64
71
extern __always_inline __wur ssize_t
71
__extern_always_inline __wur ssize_t
72
pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
72
pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
73
{
73
{
74
  if (__bos0 (__buf) != (size_t) -1
74
  if (__bos0 (__buf) != (size_t) -1
Lines 89-95 extern ssize_t __REDIRECT_NTH (__readlin Link Here
89
				char *__restrict __buf, size_t __len), readlink)
89
				char *__restrict __buf, size_t __len), readlink)
90
     __nonnull ((1, 2)) __wur;
90
     __nonnull ((1, 2)) __wur;
91
91
92
extern __always_inline __nonnull ((1, 2)) __wur ssize_t
92
__extern_always_inline __nonnull ((1, 2)) __wur ssize_t
93
__NTH (readlink (__const char *__restrict __path, char *__restrict __buf,
93
__NTH (readlink (__const char *__restrict __path, char *__restrict __buf,
94
		 size_t __len))
94
		 size_t __len))
95
{
95
{
Lines 111-117 extern ssize_t __REDIRECT_NTH (__readlin Link Here
111
			       readlinkat)
111
			       readlinkat)
112
     __nonnull ((2, 3)) __wur;
112
     __nonnull ((2, 3)) __wur;
113
113
114
extern __always_inline __nonnull ((2, 3)) __wur ssize_t
114
__extern_always_inline __nonnull ((2, 3)) __wur ssize_t
115
__NTH (readlinkat (int __fd, __const char *__restrict __path,
115
__NTH (readlinkat (int __fd, __const char *__restrict __path,
116
		   char *__restrict __buf, size_t __len))
116
		   char *__restrict __buf, size_t __len))
117
{
117
{
Lines 127-133 extern char *__getcwd_chk (char *__buf, Link Here
127
extern char *__REDIRECT_NTH (__getcwd_alias,
127
extern char *__REDIRECT_NTH (__getcwd_alias,
128
			     (char *__buf, size_t __size), getcwd) __wur;
128
			     (char *__buf, size_t __size), getcwd) __wur;
129
129
130
extern __always_inline __wur char *
130
__extern_always_inline __wur char *
131
__NTH (getcwd (char *__buf, size_t __size))
131
__NTH (getcwd (char *__buf, size_t __size))
132
{
132
{
133
  if (__bos (__buf) != (size_t) -1
133
  if (__bos (__buf) != (size_t) -1
Lines 142-148 extern char *__getwd_chk (char *__buf, s Link Here
142
extern char *__REDIRECT_NTH (__getwd_alias, (char *__buf), getwd)
142
extern char *__REDIRECT_NTH (__getwd_alias, (char *__buf), getwd)
143
     __nonnull ((1)) __wur;
143
     __nonnull ((1)) __wur;
144
144
145
extern __always_inline __nonnull ((1)) __attribute_deprecated__ __wur char *
145
__extern_always_inline __nonnull ((1)) __attribute_deprecated__ __wur char *
146
__NTH (getwd (char *__buf))
146
__NTH (getwd (char *__buf))
147
{
147
{
148
  if (__bos (__buf) != (size_t) -1)
148
  if (__bos (__buf) != (size_t) -1)
Lines 156-162 extern size_t __confstr_chk (int __name, Link Here
156
extern size_t __REDIRECT_NTH (__confstr_alias, (int __name, char *__buf,
156
extern size_t __REDIRECT_NTH (__confstr_alias, (int __name, char *__buf,
157
						size_t __len), confstr);
157
						size_t __len), confstr);
158
158
159
extern __always_inline size_t
159
__extern_always_inline size_t
160
__NTH (confstr (int __name, char *__buf, size_t __len))
160
__NTH (confstr (int __name, char *__buf, size_t __len))
161
{
161
{
162
  if (__bos (__buf) != (size_t) -1
162
  if (__bos (__buf) != (size_t) -1
Lines 171-177 extern int __getgroups_chk (int __size, Link Here
171
extern int __REDIRECT_NTH (__getgroups_alias, (int __size, __gid_t __list[]),
171
extern int __REDIRECT_NTH (__getgroups_alias, (int __size, __gid_t __list[]),
172
			   getgroups) __wur;
172
			   getgroups) __wur;
173
173
174
extern __always_inline int
174
__extern_always_inline int
175
__NTH (getgroups (int __size, __gid_t __list[]))
175
__NTH (getgroups (int __size, __gid_t __list[]))
176
{
176
{
177
  if (__bos (__list) != (size_t) -1
177
  if (__bos (__list) != (size_t) -1
Lines 188-194 extern int __REDIRECT_NTH (__ttyname_r_a Link Here
188
					       size_t __buflen), ttyname_r)
188
					       size_t __buflen), ttyname_r)
189
     __nonnull ((2));
189
     __nonnull ((2));
190
190
191
extern __always_inline int
191
__extern_always_inline int
192
__NTH (ttyname_r (int __fd, char *__buf, size_t __buflen))
192
__NTH (ttyname_r (int __fd, char *__buf, size_t __buflen))
193
{
193
{
194
  if (__bos (__buf) != (size_t) -1
194
  if (__bos (__buf) != (size_t) -1
Lines 204-210 extern int __getlogin_r_chk (char *__buf Link Here
204
extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen),
204
extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen),
205
		       getlogin_r) __nonnull ((1));
205
		       getlogin_r) __nonnull ((1));
206
206
207
extern __always_inline int
207
__extern_always_inline int
208
getlogin_r (char *__buf, size_t __buflen)
208
getlogin_r (char *__buf, size_t __buflen)
209
{
209
{
210
  if (__bos (__buf) != (size_t) -1
210
  if (__bos (__buf) != (size_t) -1
Lines 221-227 extern int __gethostname_chk (char *__bu Link Here
221
extern int __REDIRECT_NTH (__gethostname_alias, (char *__buf, size_t __buflen),
221
extern int __REDIRECT_NTH (__gethostname_alias, (char *__buf, size_t __buflen),
222
			   gethostname) __nonnull ((1));
222
			   gethostname) __nonnull ((1));
223
223
224
extern __always_inline int
224
__extern_always_inline int
225
__NTH (gethostname (char *__buf, size_t __buflen))
225
__NTH (gethostname (char *__buf, size_t __buflen))
226
{
226
{
227
  if (__bos (__buf) != (size_t) -1
227
  if (__bos (__buf) != (size_t) -1
Lines 239-245 extern int __REDIRECT_NTH (__getdomainna Link Here
239
						   size_t __buflen),
239
						   size_t __buflen),
240
			   getdomainname) __nonnull ((1)) __wur;
240
			   getdomainname) __nonnull ((1)) __wur;
241
241
242
extern __always_inline int
242
__extern_always_inline int
243
__NTH (getdomainname (char *__buf, size_t __buflen))
243
__NTH (getdomainname (char *__buf, size_t __buflen))
244
{
244
{
245
  if (__bos (__buf) != (size_t) -1
245
  if (__bos (__buf) != (size_t) -1
(-)libc/string/bits/string3.h.jj (-2 / +2 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1
/* Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
2
   This file is part of the GNU C Library.
3
3
4
   The GNU C Library is free software; you can redistribute it and/or
4
   The GNU C Library is free software; you can redistribute it and/or
Lines 151-157 extern char *__REDIRECT_NTH (__stpncpy_a Link Here
151
					       __const char *__src,
151
					       __const char *__src,
152
					       size_t __n), stpncpy);
152
					       size_t __n), stpncpy);
153
153
154
extern __always_inline char *
154
__extern_always_inline char *
155
__NTH (stpncpy (char *__dest, __const char *__src, size_t __n))
155
__NTH (stpncpy (char *__dest, __const char *__src, size_t __n))
156
{
156
{
157
  if (__bos (__dest) != (size_t) -1
157
  if (__bos (__dest) != (size_t) -1
(-)libc/string/bits/string2.h.jj (-2 / +20 lines)
Line 0 Link Here
1
/*  DO NOT EDIT THIS FILE.
2
3
    It has been auto-edited by fixincludes from:
4
5
	"fixinc/tests/inc/bits/string2.h"
6
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
10
11
12
#if defined( GLIBC_C99_INLINE_3_CHECK )
13
# if defined(__cplusplus) || __STDC_VERSION__ >= 19901L
14
#  define __STRING_INLINE inline
15
# else
16
#  define __STRING_INLINE extern __inline
17
# endif
18
#endif  /* GLIBC_C99_INLINE_3_CHECK */
Lines 1-5 Link Here
1
/* Machine-independant string function optimizations.
1
/* Machine-independant string function optimizations.
2
   Copyright (C) 1997-2003, 2004 Free Software Foundation, Inc.
2
   Copyright (C) 1997-2003, 2004, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
4
   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
5
5
Lines 43-49 Link Here
43
# ifdef __cplusplus
43
# ifdef __cplusplus
44
#  define __STRING_INLINE inline
44
#  define __STRING_INLINE inline
45
# else
45
# else
46
#  define __STRING_INLINE extern __inline
46
#  define __STRING_INLINE __extern_inline
47
# endif
47
# endif
48
#endif
48
#endif
49
49
(-)libc/string/argz.h.jj (-3 / +3 lines)
Lines 1-5 Link Here
1
/* Routines for dealing with '\0' separated arg vectors.
1
/* Routines for dealing with '\0' separated arg vectors.
2
   Copyright (C) 1995,96,97,98,99,2000,2004 Free Software Foundation, Inc.
2
   Copyright (C) 1995,96,97,98,99,2000,2004,2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 160-166 extern char *argz_next (__const char *__ Link Here
160
			__const char *__restrict __entry) __THROW;
160
			__const char *__restrict __entry) __THROW;
161
161
162
#ifdef __USE_EXTERN_INLINES
162
#ifdef __USE_EXTERN_INLINES
163
extern inline char *
163
__extern_inline char *
164
__NTH (__argz_next (__const char *__argz, size_t __argz_len,
164
__NTH (__argz_next (__const char *__argz, size_t __argz_len,
165
		    __const char *__entry))
165
		    __const char *__entry))
166
{
166
{
Lines 174-180 __NTH (__argz_next (__const char *__argz Link Here
174
  else
174
  else
175
    return __argz_len > 0 ? (char *) __argz : 0;
175
    return __argz_len > 0 ? (char *) __argz : 0;
176
}
176
}
177
extern inline char *
177
__extern_inline char *
178
__NTH (argz_next (__const char *__argz, size_t __argz_len,
178
__NTH (argz_next (__const char *__argz, size_t __argz_len,
179
		  __const char *__entry))
179
		  __const char *__entry))
180
{
180
{
(-)libc/math/bits/cmathcalls.h.jj (-4 / +4 lines)
Lines 1-6 Link Here
1
/* Prototype declarations for complex math functions;
1
/* Prototype declarations for complex math functions;
2
   helper file for <complex.h>.
2
   helper file for <complex.h>.
3
   Copyright (C) 1997, 1998, 2001 Free Software Foundation, Inc.
3
   Copyright (C) 1997, 1998, 2001, 2006 Free Software Foundation, Inc.
4
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
5
5
6
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 135-155 __MATHDECL (_Mdouble_,creal, (_Mdouble_c Link Here
135
#if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__
135
#if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__
136
136
137
/* Imaginary part of Z.  */
137
/* Imaginary part of Z.  */
138
extern __inline _Mdouble_
138
__extern_inline _Mdouble_
139
__MATH_PRECNAME(cimag) (_Mdouble_complex_ __z) __THROW
139
__MATH_PRECNAME(cimag) (_Mdouble_complex_ __z) __THROW
140
{
140
{
141
  return __imag__ __z;
141
  return __imag__ __z;
142
}
142
}
143
143
144
/* Real part of Z.  */
144
/* Real part of Z.  */
145
extern __inline _Mdouble_
145
__extern_inline _Mdouble_
146
__MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW
146
__MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW
147
{
147
{
148
  return __real__ __z;
148
  return __real__ __z;
149
}
149
}
150
150
151
/* Complex conjugate of Z.  */
151
/* Complex conjugate of Z.  */
152
extern __inline _Mdouble_complex_
152
__extern_inline _Mdouble_complex_
153
__MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW
153
__MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW
154
{
154
{
155
  return __extension__ ~__z;
155
  return __extension__ ~__z;
(-)libc/math/math_private.h.jj (-3 / +3 lines)
Lines 192-198 extern int __kernel_rem_pio2 (double* Link Here
192
extern double __copysign (double x, double __y);
192
extern double __copysign (double x, double __y);
193
193
194
#if __GNUC_PREREQ (4, 0)
194
#if __GNUC_PREREQ (4, 0)
195
extern inline double __copysign (double x, double y)
195
__extern_inline double __copysign (double x, double y)
196
{ return __builtin_copysign (x, y); }
196
{ return __builtin_copysign (x, y); }
197
#endif
197
#endif
198
198
Lines 239-245 extern int __kernel_rem_pio2f (float*, Link Here
239
extern float __copysignf (float x, float __y);
239
extern float __copysignf (float x, float __y);
240
240
241
#if __GNUC_PREREQ (4, 0)
241
#if __GNUC_PREREQ (4, 0)
242
extern inline float __copysignf (float x, float y)
242
__extern_inline float __copysignf (float x, float y)
243
{ return __builtin_copysignf (x, y); }
243
{ return __builtin_copysignf (x, y); }
244
#endif
244
#endif
245
245
Lines 307-313 extern long double __logbl (long double Link Here
307
extern long double __significandl (long double x);
307
extern long double __significandl (long double x);
308
308
309
#if __GNUC_PREREQ (4, 0)
309
#if __GNUC_PREREQ (4, 0)
310
extern inline long double __copysignl (long double x, long double y)
310
__extern_inline long double __copysignl (long double x, long double y)
311
{ return __builtin_copysignl (x, y); }
311
{ return __builtin_copysignl (x, y); }
312
#endif
312
#endif
313
313
(-)libc/hurd/hurd.h.jj (-2 / +3 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1993,94,95,96,97,98,99,2001,02 Free Software Foundation, Inc.
1
/* Copyright (C) 1993,94,95,96,97,98,99,2001,2002,2006
2
   Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
3
4
4
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 44-50 Link Here
44
#include <errno.h>
45
#include <errno.h>
45
46
46
#ifndef _HURD_H_EXTERN_INLINE
47
#ifndef _HURD_H_EXTERN_INLINE
47
#define _HURD_H_EXTERN_INLINE extern __inline
48
#define _HURD_H_EXTERN_INLINE __extern_inline
48
#endif
49
#endif
49
50
50
_HURD_H_EXTERN_INLINE int
51
_HURD_H_EXTERN_INLINE int
(-)libc/hurd/hurd/port.h.jj (-2 / +3 lines)
Lines 1-5 Link Here
1
/* Lightweight user references for ports.
1
/* Lightweight user references for ports.
2
   Copyright (C) 1993, 1994, 1995, 1997, 1999 Free Software Foundation, Inc.
2
   Copyright (C) 1993, 1994, 1995, 1997, 1999, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
5
5
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 55-61 struct hurd_port Link Here
55
56
56
57
57
#ifndef _HURD_PORT_H_EXTERN_INLINE
58
#ifndef _HURD_PORT_H_EXTERN_INLINE
58
#define _HURD_PORT_H_EXTERN_INLINE extern __inline
59
#define _HURD_PORT_H_EXTERN_INLINE __extern_inline
59
#endif
60
#endif
60
61
61
62
(-)libc/hurd/hurd/threadvar.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Internal per-thread variables for the Hurd.
1
/* Internal per-thread variables for the Hurd.
2
   Copyright (C) 1994,95,97,98,99,2001,02 Free Software Foundation, Inc.
2
   Copyright (C) 1994,95,97,98,99,2001,02,06 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 74-80 enum __hurd_threadvar_index Link Here
74
74
75
75
76
#ifndef _HURD_THREADVAR_H_EXTERN_INLINE
76
#ifndef _HURD_THREADVAR_H_EXTERN_INLINE
77
#define _HURD_THREADVAR_H_EXTERN_INLINE extern __inline
77
#define _HURD_THREADVAR_H_EXTERN_INLINE __extern_inline
78
#endif
78
#endif
79
79
80
/* Return the location of the value for the per-thread variable with index
80
/* Return the location of the value for the per-thread variable with index
(-)libc/hurd/hurd/fd.h.jj (-1 / +1 lines)
Lines 52-58 extern struct mutex _hurd_dtable_lock; / Link Here
52
#include <hurd/signal.h>
52
#include <hurd/signal.h>
53
53
54
#ifndef _HURD_FD_H_EXTERN_INLINE
54
#ifndef _HURD_FD_H_EXTERN_INLINE
55
#define _HURD_FD_H_EXTERN_INLINE extern __inline
55
#define _HURD_FD_H_EXTERN_INLINE __extern_inline
56
#endif
56
#endif
57
57
58
/* Returns the descriptor cell for FD.  If FD is invalid or unused, return
58
/* Returns the descriptor cell for FD.  If FD is invalid or unused, return
(-)libc/hurd/hurd/signal.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Implementing POSIX.1 signals under the Hurd.
1
/* Implementing POSIX.1 signals under the Hurd.
2
   Copyright (C) 1993,94,95,96,98,99,2002 Free Software Foundation, Inc.
2
   Copyright (C) 1993,94,95,96,98,99,2002,2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 126-132 extern struct hurd_sigstate *_hurd_self_ Link Here
126
     __attribute__ ((__const__));
126
     __attribute__ ((__const__));
127
127
128
#ifndef _HURD_SIGNAL_H_EXTERN_INLINE
128
#ifndef _HURD_SIGNAL_H_EXTERN_INLINE
129
#define _HURD_SIGNAL_H_EXTERN_INLINE extern __inline
129
#define _HURD_SIGNAL_H_EXTERN_INLINE __extern_inline
130
#endif
130
#endif
131
131
132
_HURD_SIGNAL_H_EXTERN_INLINE struct hurd_sigstate *
132
_HURD_SIGNAL_H_EXTERN_INLINE struct hurd_sigstate *
(-)libc/hurd/hurd/userlink.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Support for chains recording users of a resource; `struct hurd_userlink'.
1
/* Support for chains recording users of a resource; `struct hurd_userlink'.
2
   Copyright (C) 1994, 1995, 1997, 1999 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1995, 1997, 1999, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 71-77 struct hurd_userlink Link Here
71
71
72
72
73
#ifndef _HURD_USERLINK_H_EXTERN_INLINE
73
#ifndef _HURD_USERLINK_H_EXTERN_INLINE
74
#define _HURD_USERLINK_H_EXTERN_INLINE extern __inline
74
#define _HURD_USERLINK_H_EXTERN_INLINE __extern_inline
75
#endif
75
#endif
76
76
77
77
(-)libc/sysdeps/mach/alpha/machine-sp.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific function to return the stack pointer.  Alpha version.
1
/* Machine-specific function to return the stack pointer.  Alpha version.
2
   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 23-29 Link Here
23
/* Return the current stack pointer.  */
23
/* Return the current stack pointer.  */
24
24
25
#ifndef _EXTERN_INLINE
25
#ifndef _EXTERN_INLINE
26
#define _EXTERN_INLINE extern __inline
26
#define _EXTERN_INLINE __extern_inline
27
#endif
27
#endif
28
28
29
_EXTERN_INLINE void *
29
_EXTERN_INLINE void *
(-)libc/sysdeps/mach/alpha/machine-lock.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific definition for spin locks.  Alpha version.
1
/* Machine-specific definition for spin locks.  Alpha version.
2
   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 30-36 typedef __volatile long int __spin_lock_ Link Here
30
30
31
31
32
#ifndef _EXTERN_INLINE
32
#ifndef _EXTERN_INLINE
33
#define _EXTERN_INLINE extern __inline
33
#define _EXTERN_INLINE __extern_inline
34
#endif
34
#endif
35
35
36
/* Unlock LOCK.  */
36
/* Unlock LOCK.  */
(-)libc/sysdeps/mach/i386/machine-lock.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific definition for spin locks.  i386 version.
1
/* Machine-specific definition for spin locks.  i386 version.
2
   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 30-36 typedef __volatile int __spin_lock_t; Link Here
30
30
31
31
32
#ifndef _EXTERN_INLINE
32
#ifndef _EXTERN_INLINE
33
#define _EXTERN_INLINE extern __inline
33
#define _EXTERN_INLINE __extern_inline
34
#endif
34
#endif
35
35
36
/* Unlock LOCK.  */
36
/* Unlock LOCK.  */
(-)libc/sysdeps/mach/powerpc/machine-sp.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific function to return the stack pointer.  PowerPC version.
1
/* Machine-specific function to return the stack pointer.  PowerPC version.
2
   Copyright (C) 2001 Free Software Foundation, Inc.
2
   Copyright (C) 2001, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 27-33 Link Here
27
# ifdef _HURD_THREADVAR_H_EXTERN_INLINE
27
# ifdef _HURD_THREADVAR_H_EXTERN_INLINE
28
#  define _EXTERN_INLINE _HURD_THREADVAR_H_EXTERN_INLINE
28
#  define _EXTERN_INLINE _HURD_THREADVAR_H_EXTERN_INLINE
29
# else
29
# else
30
#  define _EXTERN_INLINE extern __inline
30
#  define _EXTERN_INLINE __extern_inline
31
# endif
31
# endif
32
#endif
32
#endif
33
33
(-)libc/sysdeps/mach/powerpc/machine-lock.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific definition for spin locks.  PowerPC version.
1
/* Machine-specific definition for spin locks.  PowerPC version.
2
   Copyright (C) 1994,97,2002 Free Software Foundation, Inc.
2
   Copyright (C) 1994,97,2002,2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 30-36 typedef __volatile long int __spin_lock_ Link Here
30
30
31
31
32
#ifndef _EXTERN_INLINE
32
#ifndef _EXTERN_INLINE
33
#define _EXTERN_INLINE extern __inline
33
#define _EXTERN_INLINE __extern_inline
34
#endif
34
#endif
35
35
36
/* Unlock LOCK.  */
36
/* Unlock LOCK.  */
(-)libc/sysdeps/alpha/fpu/bits/mathinline.h.jj (-2 / +3 lines)
Lines 1-5 Link Here
1
/* Inline math functions for Alpha.
1
/* Inline math functions for Alpha.
2
   Copyright (C) 1996, 1997, 1999-2001, 2004 Free Software Foundation, Inc.
2
   Copyright (C) 1996, 1997, 1999-2001, 2004, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
   Contributed by David Mosberger-Tang.
5
   Contributed by David Mosberger-Tang.
5
6
Lines 25-31 Link Here
25
#ifdef __cplusplus
26
#ifdef __cplusplus
26
# define __MATH_INLINE __inline
27
# define __MATH_INLINE __inline
27
#else
28
#else
28
# define __MATH_INLINE extern __inline
29
# define __MATH_INLINE __extern_inline
29
#endif
30
#endif
30
31
31
#if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0)
32
#if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0)
(-)libc/sysdeps/ia64/fpu/bits/mathinline.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Inline math functions for ia64.
1
/* Inline math functions for ia64.
2
   Copyright (C) 2004 Free Software Foundation, Inc.
2
   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 24-30 Link Here
24
#ifdef __cplusplus
24
#ifdef __cplusplus
25
# define __MATH_INLINE __inline
25
# define __MATH_INLINE __inline
26
#else
26
#else
27
# define __MATH_INLINE extern __inline
27
# define __MATH_INLINE __extern_inline
28
#endif
28
#endif
29
29
30
#if defined __USE_ISOC99 && defined __GNUC__ && __GNUC__ >= 2
30
#if defined __USE_ISOC99 && defined __GNUC__ && __GNUC__ >= 2
(-)libc/sysdeps/i386/fpu/bits/mathinline.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Inline math functions for i387.
1
/* Inline math functions for i387.
2
   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
2
   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2006
3
   Free Software Foundation, Inc.
3
   Free Software Foundation, Inc.
4
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
5
   Contributed by John C. Bowman <bowman@math.ualberta.ca>, 1995.
5
   Contributed by John C. Bowman <bowman@math.ualberta.ca>, 1995.
Lines 26-32 Link Here
26
#ifdef __cplusplus
26
#ifdef __cplusplus
27
# define __MATH_INLINE __inline
27
# define __MATH_INLINE __inline
28
#else
28
#else
29
# define __MATH_INLINE extern __inline
29
# define __MATH_INLINE __extern_inline
30
#endif
30
#endif
31
31
32
32
(-)libc/sysdeps/i386/i486/bits/string.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Optimized, inlined string functions.  i486 version.
1
/* Optimized, inlined string functions.  i486 version.
2
   Copyright (C) 1997,1998,1999,2000,2001,2002,2003,2004
2
   Copyright (C) 1997,1998,1999,2000,2001,2002,2003,2004,2006
3
   	Free Software Foundation, Inc.
3
   	Free Software Foundation, Inc.
4
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
5
5
Lines 35-41 Link Here
35
# ifdef __cplusplus
35
# ifdef __cplusplus
36
#  define __STRING_INLINE inline
36
#  define __STRING_INLINE inline
37
# else
37
# else
38
#  define __STRING_INLINE extern __inline
38
#  define __STRING_INLINE __extern_inline
39
# endif
39
# endif
40
#endif
40
#endif
41
41
(-)libc/sysdeps/generic/inttypes.h.jj (-9 / +9 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1997-2001, 2004 Free Software Foundation, Inc.
1
/* Copyright (C) 1997-2001, 2004, 2006 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
2
   This file is part of the GNU C Library.
3
3
4
   The GNU C Library is free software; you can redistribute it and/or
4
   The GNU C Library is free software; you can redistribute it and/or
Lines 330-336 extern long int __strtol_internal (__con Link Here
330
				   int __base, int __group) __THROW;
330
				   int __base, int __group) __THROW;
331
#   define __strtol_internal_defined	1
331
#   define __strtol_internal_defined	1
332
#  endif
332
#  endif
333
extern __inline intmax_t
333
__extern_inline intmax_t
334
__NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr,
334
__NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr,
335
		  int base))
335
		  int base))
336
{
336
{
Lines 345-351 extern unsigned long int __strtoul_inter Link Here
345
					     int __base, int __group) __THROW;
345
					     int __base, int __group) __THROW;
346
#   define __strtoul_internal_defined	1
346
#   define __strtoul_internal_defined	1
347
#  endif
347
#  endif
348
extern __inline uintmax_t
348
__extern_inline uintmax_t
349
__NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr,
349
__NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr,
350
		  int base))
350
		  int base))
351
{
351
{
Lines 359-365 extern long int __wcstol_internal (__con Link Here
359
				   int __base, int __group) __THROW;
359
				   int __base, int __group) __THROW;
360
#   define __wcstol_internal_defined	1
360
#   define __wcstol_internal_defined	1
361
#  endif
361
#  endif
362
extern __inline intmax_t
362
__extern_inline intmax_t
363
__NTH (wcstoimax (__const __gwchar_t *__restrict nptr,
363
__NTH (wcstoimax (__const __gwchar_t *__restrict nptr,
364
		  __gwchar_t **__restrict endptr, int base))
364
		  __gwchar_t **__restrict endptr, int base))
365
{
365
{
Lines 376-382 extern unsigned long int __wcstoul_inter Link Here
376
					     int __base, int __group) __THROW;
376
					     int __base, int __group) __THROW;
377
#   define __wcstoul_internal_defined	1
377
#   define __wcstoul_internal_defined	1
378
#  endif
378
#  endif
379
extern __inline uintmax_t
379
__extern_inline uintmax_t
380
__NTH (wcstoumax (__const __gwchar_t *__restrict nptr,
380
__NTH (wcstoumax (__const __gwchar_t *__restrict nptr,
381
		  __gwchar_t **__restrict endptr, int base))
381
		  __gwchar_t **__restrict endptr, int base))
382
{
382
{
Lines 393-399 extern long long int __strtoll_internal Link Here
393
					 int __base, int __group) __THROW;
393
					 int __base, int __group) __THROW;
394
#   define __strtoll_internal_defined	1
394
#   define __strtoll_internal_defined	1
395
#  endif
395
#  endif
396
extern __inline intmax_t
396
__extern_inline intmax_t
397
__NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr,
397
__NTH (strtoimax (__const char *__restrict nptr, char **__restrict endptr,
398
		  int base))
398
		  int base))
399
{
399
{
Lines 411-417 extern unsigned long long int __strtoull Link Here
411
						   int __group) __THROW;
411
						   int __group) __THROW;
412
#   define __strtoull_internal_defined	1
412
#   define __strtoull_internal_defined	1
413
#  endif
413
#  endif
414
extern __inline uintmax_t
414
__extern_inline uintmax_t
415
__NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr,
415
__NTH (strtoumax (__const char *__restrict nptr, char **__restrict endptr,
416
		  int base))
416
		  int base))
417
{
417
{
Lines 427-433 extern long long int __wcstoll_internal Link Here
427
					 int __base, int __group) __THROW;
427
					 int __base, int __group) __THROW;
428
#   define __wcstoll_internal_defined	1
428
#   define __wcstoll_internal_defined	1
429
#  endif
429
#  endif
430
extern __inline intmax_t
430
__extern_inline intmax_t
431
__NTH (wcstoimax (__const __gwchar_t *__restrict nptr,
431
__NTH (wcstoimax (__const __gwchar_t *__restrict nptr,
432
		  __gwchar_t **__restrict endptr, int base))
432
		  __gwchar_t **__restrict endptr, int base))
433
{
433
{
Lines 446-452 extern unsigned long long int __wcstoull Link Here
446
						   int __group) __THROW;
446
						   int __group) __THROW;
447
#   define __wcstoull_internal_defined	1
447
#   define __wcstoull_internal_defined	1
448
#  endif
448
#  endif
449
extern __inline uintmax_t
449
__extern_inline uintmax_t
450
__NTH (wcstoumax (__const __gwchar_t *__restrict nptr,
450
__NTH (wcstoumax (__const __gwchar_t *__restrict nptr,
451
		  __gwchar_t **__restrict endptr, int base))
451
		  __gwchar_t **__restrict endptr, int base))
452
{
452
{
(-)libc/sysdeps/generic/machine-sp.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific function to return the stack pointer.  Stub version.
1
/* Machine-specific function to return the stack pointer.  Stub version.
2
   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 23-29 Link Here
23
/* Return the current stack pointer.  */
23
/* Return the current stack pointer.  */
24
24
25
#ifndef _EXTERN_INLINE
25
#ifndef _EXTERN_INLINE
26
#define _EXTERN_INLINE extern __inline
26
#define _EXTERN_INLINE __extern_inline
27
#endif
27
#endif
28
28
29
_EXTERN_INLINE void *
29
_EXTERN_INLINE void *
(-)libc/sysdeps/generic/machine-lock.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Machine-specific definition for spin locks.  Stub version.
1
/* Machine-specific definition for spin locks.  Stub version.
2
   Copyright (C) 1994, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1994, 1997, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 30-36 typedef volatile int __spin_lock_t; Link Here
30
30
31
31
32
#ifndef _EXTERN_INLINE
32
#ifndef _EXTERN_INLINE
33
#define _EXTERN_INLINE extern __inline
33
#define _EXTERN_INLINE __extern_inline
34
#endif
34
#endif
35
35
36
/* Unlock LOCK.  */
36
/* Unlock LOCK.  */
(-)libc/sysdeps/generic/allocalim.h.jj (-1 / +1 lines)
Lines 1-4 Link Here
1
extern inline int __libc_use_alloca (size_t size)
1
__extern_inline int __libc_use_alloca (size_t size)
2
{
2
{
3
  return size <= __MAX_ALLOCA_CUTOFF;
3
  return size <= __MAX_ALLOCA_CUTOFF;
4
}
4
}
(-)libc/sysdeps/pthread/aio_misc.c.jj (-1 / +1 lines)
Lines 33-39 Link Here
33
#ifndef aio_create_helper_thread
33
#ifndef aio_create_helper_thread
34
# define aio_create_helper_thread __aio_create_helper_thread
34
# define aio_create_helper_thread __aio_create_helper_thread
35
35
36
extern inline int
36
__extern_inline int
37
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg)
37
__aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg)
38
{
38
{
39
  pthread_attr_t attr;
39
  pthread_attr_t attr;
(-)libc/sysdeps/s390/bits/string.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Optimized, inlined string functions.  S/390 version.
1
/* Optimized, inlined string functions.  S/390 version.
2
   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
2
   Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc.
3
   Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
3
   Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
4
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
5
5
Lines 34-40 Link Here
34
# ifdef __cplusplus
34
# ifdef __cplusplus
35
#  define __STRING_INLINE inline
35
#  define __STRING_INLINE inline
36
# else
36
# else
37
#  define __STRING_INLINE extern __inline
37
#  define __STRING_INLINE __extern_inline
38
# endif
38
# endif
39
#endif
39
#endif
40
40
(-)libc/sysdeps/s390/fpu/bits/mathinline.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Inline math functions for s390.
1
/* Inline math functions for s390.
2
   Copyright (C) 2004 Free Software Foundation, Inc.
2
   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 24-30 Link Here
24
#ifdef __cplusplus
24
#ifdef __cplusplus
25
# define __MATH_INLINE __inline
25
# define __MATH_INLINE __inline
26
#else
26
#else
27
# define __MATH_INLINE extern __inline
27
# define __MATH_INLINE __extern_inline
28
#endif
28
#endif
29
29
30
#if (!defined __NO_MATH_INLINES || defined __LIBC_INTERNAL_MATH_INLINES) \
30
#if (!defined __NO_MATH_INLINES || defined __LIBC_INTERNAL_MATH_INLINES) \
(-)libc/sysdeps/powerpc/fpu/bits/mathinline.h.jj (-1 / +1 lines)
Lines 25-31 Link Here
25
#ifdef __cplusplus
25
#ifdef __cplusplus
26
# define __MATH_INLINE __inline
26
# define __MATH_INLINE __inline
27
#else
27
#else
28
# define __MATH_INLINE extern __inline
28
# define __MATH_INLINE __extern_inline
29
#endif  /* __cplusplus */
29
#endif  /* __cplusplus */
30
30
31
#if defined __GNUC__ && !defined _SOFT_FLOAT
31
#if defined __GNUC__ && !defined _SOFT_FLOAT
(-)libc/sysdeps/x86_64/fpu/bits/mathinline.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* Inline math functions for x86-64.
1
/* Inline math functions for x86-64.
2
   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
2
   Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
   Contributed by Andreas Jaeger <aj@suse.de>, 2002.
4
   Contributed by Andreas Jaeger <aj@suse.de>, 2002.
5
5
Lines 25-31 Link Here
25
#ifdef __cplusplus
25
#ifdef __cplusplus
26
# define __MATH_INLINE __inline
26
# define __MATH_INLINE __inline
27
#else
27
#else
28
# define __MATH_INLINE extern __inline
28
# define __MATH_INLINE __extern_inline
29
#endif
29
#endif
30
30
31
31
(-)libc/sysdeps/sparc/fpu/bits/mathinline.h.jj (-1 / +1 lines)
Lines 131-137 Link Here
131
# ifdef __cplusplus
131
# ifdef __cplusplus
132
#  define __MATH_INLINE __inline
132
#  define __MATH_INLINE __inline
133
# else
133
# else
134
#  define __MATH_INLINE extern __inline
134
#  define __MATH_INLINE __extern_inline
135
# endif  /* __cplusplus */
135
# endif  /* __cplusplus */
136
136
137
/* The gcc, version 2.7 or below, has problems with all this inlining
137
/* The gcc, version 2.7 or below, has problems with all this inlining
(-)libc/sysdeps/unix/bsd/bsd4.4/bits/socket.h.jj (-2 / +2 lines)
Lines 1-5 Link Here
1
/* System-specific socket constants and types.  4.4 BSD version.
1
/* System-specific socket constants and types.  4.4 BSD version.
2
   Copyright (C) 1991,92,1994-2002,2004 Free Software Foundation, Inc.
2
   Copyright (C) 1991,92,1994-2002,2004,2006 Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
3
   This file is part of the GNU C Library.
4
4
5
   The GNU C Library is free software; you can redistribute it and/or
5
   The GNU C Library is free software; you can redistribute it and/or
Lines 227-233 extern struct cmsghdr *__cmsg_nxthdr (st Link Here
227
				      struct cmsghdr *__cmsg) __THROW;
227
				      struct cmsghdr *__cmsg) __THROW;
228
#ifdef __USE_EXTERN_INLINES
228
#ifdef __USE_EXTERN_INLINES
229
# ifndef _EXTERN_INLINE
229
# ifndef _EXTERN_INLINE
230
#  define _EXTERN_INLINE extern __inline
230
#  define _EXTERN_INLINE __extern_inline
231
# endif
231
# endif
232
_EXTERN_INLINE struct cmsghdr *
232
_EXTERN_INLINE struct cmsghdr *
233
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
233
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
(-)libc/sysdeps/unix/sysv/linux/ia64/ioperm.c.jj (-2 / +2 lines)
Lines 1-4 Link Here
1
/* Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
1
/* Copyright (C) 1999, 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
2
   This file is part of the GNU C Library.
2
   This file is part of the GNU C Library.
3
   Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
3
   Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
4
4
Lines 51-57 static struct Link Here
51
  }
51
  }
52
io;
52
io;
53
53
54
__inline__ unsigned long int
54
static __always_inline unsigned long int
55
io_offset (unsigned long int port)
55
io_offset (unsigned long int port)
56
{
56
{
57
	return ((port >> 2) << 12) | (port & 0xfff);
57
	return ((port >> 2) << 12) | (port & 0xfff);
(-)libc/sysdeps/unix/sysv/linux/bits/socket.h.jj (-1 / +1 lines)
Lines 264-270 extern struct cmsghdr *__cmsg_nxthdr (st Link Here
264
				      struct cmsghdr *__cmsg) __THROW;
264
				      struct cmsghdr *__cmsg) __THROW;
265
#ifdef __USE_EXTERN_INLINES
265
#ifdef __USE_EXTERN_INLINES
266
# ifndef _EXTERN_INLINE
266
# ifndef _EXTERN_INLINE
267
#  define _EXTERN_INLINE extern __inline
267
#  define _EXTERN_INLINE __extern_inline
268
# endif
268
# endif
269
_EXTERN_INLINE struct cmsghdr *
269
_EXTERN_INLINE struct cmsghdr *
270
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
270
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
(-)libc/sysdeps/unix/sysv/linux/bits/sigset.h.jj (-2 / +3 lines)
Lines 1-5 Link Here
1
/* __sig_atomic_t, __sigset_t, and related definitions.  Linux version.
1
/* __sig_atomic_t, __sigset_t, and related definitions.  Linux version.
2
   Copyright (C) 1991, 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
2
   Copyright (C) 1991, 1992, 1994, 1996, 1997, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
5
5
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 43-49 typedef struct Link Here
43
# define _SIGSET_H_fns 1
44
# define _SIGSET_H_fns 1
44
45
45
# ifndef _EXTERN_INLINE
46
# ifndef _EXTERN_INLINE
46
#  define _EXTERN_INLINE extern __inline
47
#  define _EXTERN_INLINE __extern_inline
47
# endif
48
# endif
48
49
49
/* Return a mask that includes the bit for SIG only.  */
50
/* Return a mask that includes the bit for SIG only.  */
(-)libc/sysdeps/unix/sysv/linux/sys/sysmacros.h.jj (-7 / +26 lines)
Line 0 Link Here
1
/*  DO NOT EDIT THIS FILE.
2
3
    It has been auto-edited by fixincludes from:
4
5
	"fixinc/tests/inc/sys/sysmacros.h"
6
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
10
11
12
#if defined( GLIBC_C99_INLINE_4_CHECK )
13
__extension__ 
14
#if __STDC_VERSION__ < 19901L
15
extern
16
#endif
17
 __inline unsigned int
18
#endif  /* GLIBC_C99_INLINE_4_CHECK */
Lines 1-5 Link Here
1
/* Definitions of macros to access `dev_t' values.
1
/* Definitions of macros to access `dev_t' values.
2
   Copyright (C) 1996, 1997, 1999, 2003, 2004 Free Software Foundation, Inc.
2
   Copyright (C) 1996, 1997, 1999, 2003, 2004, 2006
3
   Free Software Foundation, Inc.
3
   This file is part of the GNU C Library.
4
   This file is part of the GNU C Library.
4
5
5
   The GNU C Library is free software; you can redistribute it and/or
6
   The GNU C Library is free software; you can redistribute it and/or
Lines 27-56 Link Here
27
   they need.  */
28
   they need.  */
28
#ifdef __GLIBC_HAVE_LONG_LONG
29
#ifdef __GLIBC_HAVE_LONG_LONG
29
__extension__
30
__extension__
30
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
31
__extern_inline unsigned int gnu_dev_major (unsigned long long int __dev)
31
     __THROW;
32
     __THROW;
32
__extension__
33
__extension__
33
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
34
__extern_inline unsigned int gnu_dev_minor (unsigned long long int __dev)
34
     __THROW;
35
     __THROW;
35
__extension__
36
__extension__
36
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
37
__extern_inline unsigned long long int gnu_dev_makedev (unsigned int __major,
37
							unsigned int __minor)
38
							unsigned int __minor)
38
     __THROW;
39
     __THROW;
39
40
40
# if defined __GNUC__ && __GNUC__ >= 2
41
# if defined __GNUC__ && __GNUC__ >= 2
41
__extension__ extern __inline unsigned int
42
__extension__ __extern_inline unsigned int
42
__NTH (gnu_dev_major (unsigned long long int __dev))
43
__NTH (gnu_dev_major (unsigned long long int __dev))
43
{
44
{
44
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
45
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
45
}
46
}
46
47
47
__extension__ extern __inline unsigned int
48
__extension__ __extern_inline unsigned int
48
__NTH (gnu_dev_minor (unsigned long long int __dev))
49
__NTH (gnu_dev_minor (unsigned long long int __dev))
49
{
50
{
50
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
51
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
51
}
52
}
52
53
53
__extension__ extern __inline unsigned long long int
54
__extension__ __extern_inline unsigned long long int
54
__NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor))
55
__NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor))
55
{
56
{
56
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
57
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)

Return to bug 156071