Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/include Avoid common declaration.



details:   https://anonhg.NetBSD.org/src/rev/d65cdd9beaf3
branches:  trunk
changeset: 825444:d65cdd9beaf3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jul 14 19:24:12 2017 +0000

description:
Avoid common declaration.

diffstat:

 lib/libc/include/atexit.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 844ada81c9db -r d65cdd9beaf3 lib/libc/include/atexit.h
--- a/lib/libc/include/atexit.h Fri Jul 14 17:54:00 2017 +0000
+++ b/lib/libc/include/atexit.h Fri Jul 14 19:24:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atexit.h,v 1.1 2017/07/11 15:21:35 joerg Exp $ */
+/*     $NetBSD: atexit.h,v 1.2 2017/07/14 19:24:12 joerg Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,5 +37,5 @@
 int    __cxa_thread_atexit(void (*)(void *), void *, void *);
 
 #ifdef _LIBC
-__dso_hidden bool __cxa_thread_atexit_used;
+extern __dso_hidden bool __cxa_thread_atexit_used;
 #endif



Home | Main Index | Thread Index | Old Index