Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread Remove trailing semicolon from __strong_...



details:   https://anonhg.NetBSD.org/src/rev/50051199c214
branches:  nathanw_sa
changeset: 506722:50051199c214
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jan 09 19:27:51 2003 +0000

description:
Remove trailing semicolon from __strong_alias().

diffstat:

 lib/libpthread/pthread.c          |   6 +++---
 lib/libpthread/pthread_cond.c     |  14 +++++++-------
 lib/libpthread/pthread_mutex.c    |  14 +++++++-------
 lib/libpthread/pthread_rwlock.c   |  16 ++++++++--------
 lib/libpthread/pthread_sig.c      |   4 ++--
 lib/libpthread/pthread_specific.c |  10 +++++-----
 6 files changed, 32 insertions(+), 32 deletions(-)

diffs (149 lines):

diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread.c  Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread.c,v 1.1.2.42 2003/01/08 19:34:22 thorpej Exp $ */
+/*     $NetBSD: pthread.c,v 1.1.2.43 2003/01/09 19:27:51 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -79,8 +79,8 @@
 struct pthread_queue_t pthread__runqueue;
 struct pthread_queue_t pthread__idlequeue;
 
-__strong_alias(__libc_thr_self,pthread_self);
-__strong_alias(__libc_thr_errno,pthread__errno);
+__strong_alias(__libc_thr_self,pthread_self)
+__strong_alias(__libc_thr_errno,pthread__errno)
 
 /*
  * Static library kludge.  Place a reference to a symbol any library
diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread_cond.c
--- a/lib/libpthread/pthread_cond.c     Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread_cond.c     Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_cond.c,v 1.1.2.16 2003/01/08 19:34:22 thorpej Exp $    */
+/*     $NetBSD: pthread_cond.c,v 1.1.2.17 2003/01/09 19:27:51 thorpej Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -53,12 +53,12 @@
 
 static void pthread_cond_wait__callback(void *);
 
-__strong_alias(__libc_cond_init,pthread_cond_init);
-__strong_alias(__libc_cond_signal,pthread_cond_signal);
-__strong_alias(__libc_cond_broadcast,pthread_cond_broadcast);
-__strong_alias(__libc_cond_wait,pthread_cond_wait);
-__strong_alias(__libc_cond_timedwait,pthread_cond_timedwait);
-__strong_alias(__libc_cond_destroy,pthread_cond_destroy);
+__strong_alias(__libc_cond_init,pthread_cond_init)
+__strong_alias(__libc_cond_signal,pthread_cond_signal)
+__strong_alias(__libc_cond_broadcast,pthread_cond_broadcast)
+__strong_alias(__libc_cond_wait,pthread_cond_wait)
+__strong_alias(__libc_cond_timedwait,pthread_cond_timedwait)
+__strong_alias(__libc_cond_destroy,pthread_cond_destroy)
 
 int
 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread_mutex.c
--- a/lib/libpthread/pthread_mutex.c    Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread_mutex.c    Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_mutex.c,v 1.1.2.17 2003/01/08 19:34:22 thorpej Exp $   */
+/*     $NetBSD: pthread_mutex.c,v 1.1.2.18 2003/01/09 19:27:52 thorpej Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -45,13 +45,13 @@
 
 static void pthread_mutex_lock_slow(pthread_mutex_t *);
 
-__strong_alias(__libc_mutex_init,pthread_mutex_init);
-__strong_alias(__libc_mutex_lock,pthread_mutex_lock);
-__strong_alias(__libc_mutex_trylock,pthread_mutex_trylock);
-__strong_alias(__libc_mutex_unlock,pthread_mutex_unlock);
-__strong_alias(__libc_mutex_destroy,pthread_mutex_destroy);
+__strong_alias(__libc_mutex_init,pthread_mutex_init)
+__strong_alias(__libc_mutex_lock,pthread_mutex_lock)
+__strong_alias(__libc_mutex_trylock,pthread_mutex_trylock)
+__strong_alias(__libc_mutex_unlock,pthread_mutex_unlock)
+__strong_alias(__libc_mutex_destroy,pthread_mutex_destroy)
 
-__strong_alias(__libc_thr_once,pthread_once);
+__strong_alias(__libc_thr_once,pthread_once)
 
 int
 pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread_rwlock.c
--- a/lib/libpthread/pthread_rwlock.c   Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread_rwlock.c   Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_rwlock.c,v 1.1.2.3 2003/01/08 19:34:23 thorpej Exp $ */
+/*     $NetBSD: pthread_rwlock.c,v 1.1.2.4 2003/01/09 19:27:52 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -45,13 +45,13 @@
 
 static void pthread_rwlock__callback(void *);
 
-__strong_alias(__libc_rwlock_init,pthread_rwlock_init);
-__strong_alias(__libc_rwlock_rdlock,pthread_rwlock_rdlock);
-__strong_alias(__libc_rwlock_wrlock,pthread_rwlock_wrlock);
-__strong_alias(__libc_rwlock_tryrdlock,pthread_rwlock_tryrdlock);
-__strong_alias(__libc_rwlock_trywrlock,pthread_rwlock_trywrlock);
-__strong_alias(__libc_rwlock_unlock,pthread_rwlock_unlock);
-__strong_alias(__libc_rwlock_destroy,pthread_rwlock_destroy);
+__strong_alias(__libc_rwlock_init,pthread_rwlock_init)
+__strong_alias(__libc_rwlock_rdlock,pthread_rwlock_rdlock)
+__strong_alias(__libc_rwlock_wrlock,pthread_rwlock_wrlock)
+__strong_alias(__libc_rwlock_tryrdlock,pthread_rwlock_tryrdlock)
+__strong_alias(__libc_rwlock_trywrlock,pthread_rwlock_trywrlock)
+__strong_alias(__libc_rwlock_unlock,pthread_rwlock_unlock)
+__strong_alias(__libc_rwlock_destroy,pthread_rwlock_destroy)
 
 int
 pthread_rwlock_init(pthread_rwlock_t *rwlock,
diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread_sig.c
--- a/lib/libpthread/pthread_sig.c      Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread_sig.c      Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_sig.c,v 1.1.2.25 2003/01/08 19:34:23 thorpej Exp $     */
+/*     $NetBSD: pthread_sig.c,v 1.1.2.26 2003/01/09 19:27:52 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
 pthread__signal_tramp(int, int, struct sigaction *, ucontext_t *, sigset_t *,
     int, struct pthread_queue_t *, pthread_spin_t *);
 
-__strong_alias(__libc_thr_sigsetmask,pthread_sigmask);
+__strong_alias(__libc_thr_sigsetmask,pthread_sigmask)
 
 void
 pthread__signal_init(void)
diff -r 595343ebdfdb -r 50051199c214 lib/libpthread/pthread_specific.c
--- a/lib/libpthread/pthread_specific.c Thu Jan 09 03:46:47 2003 +0000
+++ b/lib/libpthread/pthread_specific.c Thu Jan 09 19:27:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_specific.c,v 1.1.2.8 2003/01/08 19:34:23 thorpej Exp $ */
+/*     $NetBSD: pthread_specific.c,v 1.1.2.9 2003/01/09 19:27:52 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -49,10 +49,10 @@
 int pthread__tsd_alloc[PTHREAD_KEYS_MAX];
 void (*pthread__tsd_destructors[PTHREAD_KEYS_MAX])(void *);
 
-__strong_alias(__libc_thr_keycreate,pthread_key_create);
-__strong_alias(__libc_thr_setspecific,pthread_setspecific);
-__strong_alias(__libc_thr_getspecific,pthread_getspecific);
-__strong_alias(__libc_thr_keydelete,pthread_key_delete);
+__strong_alias(__libc_thr_keycreate,pthread_key_create)
+__strong_alias(__libc_thr_setspecific,pthread_setspecific)
+__strong_alias(__libc_thr_getspecific,pthread_getspecific)
+__strong_alias(__libc_thr_keydelete,pthread_key_delete)
 
 int
 pthread_key_create(pthread_key_t *key, void (*destructor)(void *))



Home | Main Index | Thread Index | Old Index