Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 08:54:04 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278889 - head/lib/libc/include
Message-ID:  <201502170854.t1H8s4TL085174@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Feb 17 08:54:03 2015
New Revision: 278889
URL: https://svnweb.freebsd.org/changeset/base/278889

Log:
  Restore the extern qualifier on __cleanup.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/lib/libc/include/libc_private.h

Modified: head/lib/libc/include/libc_private.h
==============================================================================
--- head/lib/libc/include/libc_private.h	Tue Feb 17 08:50:26 2015	(r278888)
+++ head/lib/libc/include/libc_private.h	Tue Feb 17 08:54:03 2015	(r278889)
@@ -271,7 +271,7 @@ void _malloc_first_thread(void);
 /*
  * Function to clean up streams, called from abort() and exit().
  */
-void (*__cleanup)(void) __hidden;
+extern void (*__cleanup)(void) __hidden;
 
 /*
  * Get kern.osreldate to detect ABI revisions.  Explicitly



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502170854.t1H8s4TL085174>