+2017-08-31 Florian Weimer <fweimer@redhat.com>
+
+ * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
+ Remove internal_function.
+ * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
+ Likewise.
+ * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
+ Likewise.
+
2017-08-31 Florian Weimer <fweimer@redhat.com>
* dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
void moncontrol (int mode);
void __moncontrol (int mode);
-static void write_hist (int fd) internal_function;
-static void write_call_graph (int fd) internal_function;
-static void write_bb_counts (int fd) internal_function;
+static void write_hist (int fd);
+static void write_call_graph (int fd);
+static void write_bb_counts (int fd);
/*
* Control profiling
static void
-internal_function
write_hist (int fd)
{
u_char tag = GMON_TAG_TIME_HIST;
static void
-internal_function
write_call_graph (int fd)
{
#define NARCS_PER_WRITEV 32
static void
-internal_function
write_bb_counts (int fd)
{
struct __bb *grp;
/* We must not pollute the global namespace. */
#define mcount_internal __mcount_internal
-extern void mcount_internal (u_long frompc, u_long selfpc) internal_function;
+extern void mcount_internal (u_long frompc, u_long selfpc);
#define _MCOUNT_DECL(frompc, selfpc) \
- void internal_function mcount_internal (u_long frompc, u_long selfpc)
+ void mcount_internal (u_long frompc, u_long selfpc)
/* Define MCOUNT as empty since we have the implementation in another file. */
/* We must not pollute the global namespace. */
#define mcount_internal __mcount_internal
-extern void mcount_internal (u_long frompc, u_long selfpc) internal_function;
+extern void mcount_internal (u_long frompc, u_long selfpc);
#define _MCOUNT_DECL(frompc, selfpc) \
-void internal_function mcount_internal (u_long frompc, u_long selfpc)
+void mcount_internal (u_long frompc, u_long selfpc)
/* Define MCOUNT as empty since we have the implementation in another
file. */