From 5aed3effa42f01546543a68e553792218737e41b Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 17 Feb 2015 08:54:03 +0000 Subject: [PATCH] Restore the extern qualifier on __cleanup. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- lib/libc/include/libc_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 71fc8df90093..e4bf4a6afd82 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -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