Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 04:59:02 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288019 - in head/lib/libc: aarch64/gen amd64/gen arm/gen mips/gen powerpc/gen powerpc64/gen sparc64/gen
Message-ID:  <201509200459.t8K4x2RC093161@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Sun Sep 20 04:59:01 2015
New Revision: 288019
URL: https://svnweb.freebsd.org/changeset/base/288019

Log:
  Add include for declaration of _set_tp().  Eliminates -Wmissing-prototypes warnings.

Modified:
  head/lib/libc/aarch64/gen/_set_tp.c
  head/lib/libc/amd64/gen/_set_tp.c
  head/lib/libc/arm/gen/_set_tp.c
  head/lib/libc/mips/gen/_set_tp.c
  head/lib/libc/powerpc/gen/_set_tp.c
  head/lib/libc/powerpc64/gen/_set_tp.c
  head/lib/libc/sparc64/gen/_set_tp.c

Modified: head/lib/libc/aarch64/gen/_set_tp.c
==============================================================================
--- head/lib/libc/aarch64/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/aarch64/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -33,6 +33,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/sysarch.h>
 
 #include <stdlib.h>
+#include "libc_private.h"
 
 void
 _set_tp(void *tp)

Modified: head/lib/libc/amd64/gen/_set_tp.c
==============================================================================
--- head/lib/libc/amd64/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/amd64/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -29,6 +29,7 @@
 #include <string.h>
 #include <stdint.h>
 #include <machine/sysarch.h>
+#include "libc_private.h"
 
 void
 _set_tp(void *tp)

Modified: head/lib/libc/arm/gen/_set_tp.c
==============================================================================
--- head/lib/libc/arm/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/arm/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -30,6 +30,7 @@
 #include <sys/types.h>
 
 #include <machine/sysarch.h>
+#include "libc_private.h"
 
 void
 _set_tp(void *tp)

Modified: head/lib/libc/mips/gen/_set_tp.c
==============================================================================
--- head/lib/libc/mips/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/mips/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -30,6 +30,7 @@
 #include <stdint.h>
 
 #include <machine/sysarch.h>
+#include "libc_private.h"
 
 void
 _set_tp(void *tp)

Modified: head/lib/libc/powerpc/gen/_set_tp.c
==============================================================================
--- head/lib/libc/powerpc/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/powerpc/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -25,6 +25,7 @@
  *
  *	$FreeBSD$
  */
+#include "libc_private.h"
 
 void
 _set_tp(void *tpval)

Modified: head/lib/libc/powerpc64/gen/_set_tp.c
==============================================================================
--- head/lib/libc/powerpc64/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/powerpc64/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -25,6 +25,7 @@
  *
  *	$FreeBSD$
  */
+#include "libc_private.h"
 
 void
 _set_tp(void *tpval)

Modified: head/lib/libc/sparc64/gen/_set_tp.c
==============================================================================
--- head/lib/libc/sparc64/gen/_set_tp.c	Sun Sep 20 04:26:55 2015	(r288018)
+++ head/lib/libc/sparc64/gen/_set_tp.c	Sun Sep 20 04:59:01 2015	(r288019)
@@ -25,6 +25,7 @@
  *
  *	$FreeBSD$
  */
+#include "libc_private.h"
 
 void
 _set_tp(void *tpval)



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