projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e0df3
)
Define extern inline functions only if __USE_EXTERN_INLINES is defined.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 18 Aug 1998 23:21:05 +0000
(23:21 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 18 Aug 1998 23:21:05 +0000
(23:21 +0000)
sysdeps/unix/sysv/sysv4/bits/sigset.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/sysv4/bits/sigset.h
b/sysdeps/unix/sysv/sysv4/bits/sigset.h
index
1461c93
..
c5d596d
100644
(file)
--- a/
sysdeps/unix/sysv/sysv4/bits/sigset.h
+++ b/
sysdeps/unix/sysv/sysv4/bits/sigset.h
@@
-48,9
+48,10
@@
typedef struct
#define __SSELT(s) ((s) / __NSSBITS)
#define __SSMASK(s) (1 << ((s) % __NSSBITS))
-#ifndef _EXTERN_INLINE
-#define _EXTERN_INLINE extern __inline
-#endif
+#ifdef __USE_EXTERN_INLINES
+# ifndef _EXTERN_INLINE
+# define _EXTERN_INLINE extern __inline
+# endif
_EXTERN_INLINE int
__sigemptyset (__sigset_t *__set)
@@
-92,5
+93,6
@@
__sigismember (__const __sigset_t *__set, int __sig)
return 1;
return 0;
}
+#endif /* use extern inlines. */
#endif /* ! _SIGSET_H_fns */