about summary refs log tree commit diff
path: root/sysdeps/stub
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
committerUlrich Drepper <drepper@redhat.com>1997-01-06 22:07:28 +0000
commitdf4ef2ab9c0899b2670067cd97e58f7eb2913e00 (patch)
tree4cb343b5ba9ccdc9c0b96144412567b6a4eda0ee /sysdeps/stub
parent6f9e7002f38ae778b3ff2f586a3e5766382228e9 (diff)
downloadglibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.gz
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.tar.xz
glibc-df4ef2ab9c0899b2670067cd97e58f7eb2913e00.zip
update from main archive 960105 cvs/libc-970107 cvs/libc-970106
Diffstat (limited to 'sysdeps/stub')
-rw-r--r--sysdeps/stub/libc-lock.h20
-rw-r--r--sysdeps/stub/sigpause.c12
-rw-r--r--sysdeps/stub/sys/syscall.h (renamed from sysdeps/stub/syscall.h)0
3 files changed, 30 insertions, 2 deletions
diff --git a/sysdeps/stub/libc-lock.h b/sysdeps/stub/libc-lock.h
index 63ea622cc4..724b6e59d4 100644
--- a/sysdeps/stub/libc-lock.h
+++ b/sysdeps/stub/libc-lock.h
@@ -1,5 +1,5 @@
 /* libc-internal interface for mutex locks.  Stub version.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,6 +33,10 @@
 /* Define an initialized lock variable NAME with storage class CLASS.  */
 #define __libc_lock_define_initialized(CLASS,NAME)
 
+/* Define an initialized recursive lock variable NAME with storage
+   class CLASS.  */
+#define __libc_lock_define_initialized_recursive(CLASS,NAME)
+
 /* Initialize the named lock variable, leaving it in a consistent, unlocked
    state.  */
 #define __libc_lock_init(NAME)
@@ -45,15 +49,27 @@
    called on a lock variable before the containing storage is reused.  */
 #define __libc_lock_fini(NAME)
 
+/* Finalize recursive named lock.  */
+#define __libc_lock_fini_recursive(NAME)
+
 /* Lock the named lock variable.  */
 #define __libc_lock_lock(NAME)
 
-/* Try tp lock the named lock variable.  */
+/* Lock the recursive named lock variable.  */
+#define __libc_lock_lock_recursive(NAME)
+
+/* Try to lock the named lock variable.  */
 #define __libc_lock_trylock(NAME) 0
 
+/* Try to lock the recursive named lock variable.  */
+#define __libc_lock_trylock_recursive(NAME) 0
+
 /* Unlock the named lock variable.  */
 #define __libc_lock_unlock(NAME)
 
+/* Unlock the recursive named lock variable.  */
+#define __libc_lock_unlock_recursive(NAME)
+
 /* Start critical region with cleanup.  */
 #define __libc_cleanup_region_start(FCT, ARG)
 
diff --git a/sysdeps/stub/sigpause.c b/sysdeps/stub/sigpause.c
index 5e68899ed8..3525e3536f 100644
--- a/sysdeps/stub/sigpause.c
+++ b/sysdeps/stub/sigpause.c
@@ -28,3 +28,15 @@ __sigpause (sig_or_mask, is_sig)
   return -1;
 }
 stub_warning (__sigpause)
+
+
+int __default_sigpause __P ((int mask));
+int
+__default_sigpause (mask)
+     int mask;
+{
+  __set_errno (ENOSYS);
+  return -1;
+}
+weak_alias (__default_sigpause, sigpause)
+stub_warning (sigpause)
diff --git a/sysdeps/stub/syscall.h b/sysdeps/stub/sys/syscall.h
index 719bd08904..719bd08904 100644
--- a/sysdeps/stub/syscall.h
+++ b/sysdeps/stub/sys/syscall.h