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

Bryan Drewery bdrewery at FreeBSD.org
Wed Feb 18 23:28:26 UTC 2015


On 2/17/2015 2:54 AM, Konstantin Belousov wrote:
> 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
> 

Is this a NOP?

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150218/b870aacd/attachment.sig>


More information about the svn-src-head mailing list