Module Name:    src
Committed By:   he
Date:           Fri Mar 18 14:56:01 UTC 2011

Modified Files:
        src/lib/libc/tls: tls.c

Log Message:
It would be nice if lint knew that abort() will never return.
For now just insert a /* NOTREACHED */ comment to fix the build failure.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/tls/tls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/tls/tls.c
diff -u src/lib/libc/tls/tls.c:1.4 src/lib/libc/tls/tls.c:1.5
--- src/lib/libc/tls/tls.c:1.4	Thu Mar 17 22:13:58 2011
+++ src/lib/libc/tls/tls.c	Fri Mar 18 14:56:01 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: tls.c,v 1.4 2011/03/17 22:13:58 skrll Exp $	*/
+/*	$NetBSD: tls.c,v 1.5 2011/03/18 14:56:01 he Exp $	*/
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tls.c,v 1.4 2011/03/17 22:13:58 skrll Exp $");
+__RCSID("$NetBSD: tls.c,v 1.5 2011/03/18 14:56:01 he Exp $");
 
 #include "namespace.h"
 
@@ -70,6 +70,7 @@
 {
 
 	abort();
+	/* NOTREACHED */
 }
 
 __weak_alias(_rtld_tls_allocate, __libc_rtld_tls_allocate)

Reply via email to