Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread add CONSTCOND in constant condition.
details: https://anonhg.NetBSD.org/src/rev/c26e7a69913a
branches: trunk
changeset: 555677:c26e7a69913a
user: cl <cl%NetBSD.org@localhost>
date: Mon Nov 24 23:23:17 2003 +0000
description:
add CONSTCOND in constant condition.
diffstat:
lib/libpthread/pthread_cancelstub.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a93403bc4beb -r c26e7a69913a lib/libpthread/pthread_cancelstub.c
--- a/lib/libpthread/pthread_cancelstub.c Mon Nov 24 22:54:31 2003 +0000
+++ b/lib/libpthread/pthread_cancelstub.c Mon Nov 24 23:23:17 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_cancelstub.c,v 1.7 2003/11/21 23:03:13 nathanw Exp $ */
+/* $NetBSD: pthread_cancelstub.c,v 1.8 2003/11/24 23:23:17 cl Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_cancelstub.c,v 1.7 2003/11/21 23:03:13 nathanw Exp $");
+__RCSID("$NetBSD: pthread_cancelstub.c,v 1.8 2003/11/24 23:23:17 cl Exp $");
/*
* This is necessary because the fsync_range() name is always weak (it is
@@ -93,7 +93,7 @@
#define TESTCANCEL(id) do { \
if (__predict_false((id)->pt_cancel)) \
pthread_exit(PTHREAD_CANCELED); \
- } while (0)
+ } while (/*CONSTCOND*/0)
int
Home |
Main Index |
Thread Index |
Old Index