Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/lib/libc/thread-stub Delint (ugly).
details: https://anonhg.NetBSD.org/src/rev/a7b177bb9d9d
branches: nathanw_sa
changeset: 505479:a7b177bb9d9d
user: nathanw <nathanw%NetBSD.org@localhost>
date: Tue Dec 18 22:29:59 2001 +0000
description:
Delint (ugly).
diffstat:
lib/libc/thread-stub/pthread-stub.c | 35 +++++++++++++++++++++++++++++++++--
1 files changed, 33 insertions(+), 2 deletions(-)
diffs (191 lines):
diff -r 74240394ef52 -r a7b177bb9d9d lib/libc/thread-stub/pthread-stub.c
--- a/lib/libc/thread-stub/pthread-stub.c Tue Dec 18 21:25:24 2001 +0000
+++ b/lib/libc/thread-stub/pthread-stub.c Tue Dec 18 22:29:59 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread-stub.c,v 1.3.6.3 2001/11/16 16:20:45 thorpej Exp $ */
+/* $NetBSD: pthread-stub.c,v 1.3.6.4 2001/12/18 22:29:59 nathanw Exp $ */
/*-
* Copyright (c) 1999 Michael Graff <explorer%flame.org@localhost>.
@@ -95,7 +95,9 @@
int
_pthread_mutex_init(pthread_mutex_t *m, pthread_mutexattr_t *a)
{
+ /* LINTED deliberate lack of effect */
(void)m;
+ /* LINTED deliberate lack of effect */
(void)a;
return (0);
@@ -104,6 +106,7 @@
int
_pthread_mutex_lock(pthread_mutex_t *m)
{
+ /* LINTED deliberate lack of effect */
(void)m;
return (0);
@@ -112,6 +115,7 @@
int
_pthread_mutex_unlock(pthread_mutex_t *m)
{
+ /* LINTED deliberate lack of effect */
(void)m;
return (0);
@@ -120,7 +124,9 @@
int
_pthread_rwlock_init(pthread_rwlock_t *l, pthread_rwlockattr_t *a)
{
+ /* LINTED deliberate lack of effect */
(void)l;
+ /* LINTED deliberate lack of effect */
(void)a;
return (0);
@@ -129,6 +135,7 @@
int
_pthread_rwlock_rdlock(pthread_rwlock_t *l)
{
+ /* LINTED deliberate lack of effect */
(void)l;
return (0);
@@ -137,6 +144,7 @@
int
_pthread_rwlock_wrlock(pthread_rwlock_t *l)
{
+ /* LINTED deliberate lack of effect */
(void)l;
return (0);
@@ -145,6 +153,7 @@
int
_pthread_rwlock_unlock(pthread_rwlock_t *l)
{
+ /* LINTED deliberate lack of effect */
(void)l;
return (0);
@@ -153,6 +162,7 @@
int
_flockfile(FILE *fp)
{
+ /* LINTED deliberate lack of effect */
(void)fp;
return (0);
@@ -161,6 +171,7 @@
int
_ftrylockfile(FILE *fp)
{
+ /* LINTED deliberate lack of effect */
(void)fp;
return (0);
@@ -169,6 +180,7 @@
int
_funlockfile(FILE *fp)
{
+ /* LINTED deliberate lack of effect */
(void)fp;
return (0);
@@ -177,7 +189,9 @@
int
_pthread_once(pthread_once_t *o, void (*r)(void))
{
+ /* LINTED deliberate lack of effect */
(void)o;
+ /* LINTED deliberate lack of effect */
(void)r;
return (0);
@@ -186,7 +200,9 @@
int
_pthread_cond_init(pthread_cond_t *c,const pthread_condattr_t *a)
{
+ /* LINTED deliberate lack of effect */
(void)c;
+ /* LINTED deliberate lack of effect */
(void)a;
return (0);
@@ -195,7 +211,9 @@
int
_pthread_cond_wait(pthread_cond_t *c, pthread_mutex_t *m)
{
+ /* LINTED deliberate lack of effect */
(void)c;
+ /* LINTED deliberate lack of effect */
(void)m;
return (0);
@@ -204,6 +222,7 @@
int
_pthread_cond_signal(pthread_cond_t *c)
{
+ /* LINTED deliberate lack of effect */
(void)c;
return (0);
@@ -212,21 +231,27 @@
void
_pthread_spinlock(pthread_t t, pt_spin_t *l)
{
+ /* LINTED deliberate lack of effect */
(void)t;
+ /* LINTED deliberate lack of effect */
(void)l;
}
void
_pthread_spinunlock(pthread_t t, pt_spin_t *l)
{
+ /* LINTED deliberate lack of effect */
(void)t;
+ /* LINTED deliberate lack of effect */
(void)l;
}
int
_pthread_key_create(pthread_key_t *k, void (*d)(void *))
{
+ /* LINTED deliberate lack of effect */
(void)k;
+ /* LINTED deliberate lack of effect */
(void)d;
return (0);
@@ -235,7 +260,9 @@
int
_pthread_setspecific(pthread_key_t k, const void *v)
{
+ /* LINTED deliberate lack of effect */
(void)k;
+ /* LINTED deliberate lack of effect */
(void)v;
return (0);
@@ -244,6 +271,7 @@
void*
_pthread_getspecific(pthread_key_t k)
{
+ /* LINTED deliberate lack of effect */
(void)k;
return (0);
@@ -259,9 +287,12 @@
int
_pthread_sigmask(int h, const sigset_t *s, sigset_t *o)
{
+ /* LINTED deliberate lack of effect */
(void)h;
+ /* LINTED deliberate lack of effect */
(void)s;
- (void)0;
+ /* LINTED deliberate lack of effect */
+ (void)o;
return (0);
}
Home |
Main Index |
Thread Index |
Old Index