svn commit: r278889 - head/lib/libc/include

Konstantin Belousov kib at FreeBSD.org
Tue Feb 17 08:54:04 UTC 2015


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


More information about the svn-src-all mailing list