From 3fa142cf394d39f36d4bf7564251071f13527e4f Mon Sep 17 00:00:00 2001 From: Yinan Zhang Date: Sun, 22 Dec 2019 20:02:28 -0800 Subject: [PATCH] Remove _externs from prof internal header names --- .../jemalloc/internal/{prof_data_externs.h => prof_data.h} | 0 include/jemalloc/internal/{prof_log_externs.h => prof_log.h} | 0 src/prof.c | 4 ++-- src/prof_data.c | 2 +- src/prof_log.c | 4 ++-- test/unit/prof_log.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename include/jemalloc/internal/{prof_data_externs.h => prof_data.h} (100%) rename include/jemalloc/internal/{prof_log_externs.h => prof_log.h} (100%) diff --git a/include/jemalloc/internal/prof_data_externs.h b/include/jemalloc/internal/prof_data.h similarity index 100% rename from include/jemalloc/internal/prof_data_externs.h rename to include/jemalloc/internal/prof_data.h diff --git a/include/jemalloc/internal/prof_log_externs.h b/include/jemalloc/internal/prof_log.h similarity index 100% rename from include/jemalloc/internal/prof_log_externs.h rename to include/jemalloc/internal/prof_log.h diff --git a/src/prof.c b/src/prof.c index f35bba99..33b68198 100644 --- a/src/prof.c +++ b/src/prof.c @@ -5,8 +5,8 @@ #include "jemalloc/internal/ctl.h" #include "jemalloc/internal/assert.h" #include "jemalloc/internal/mutex.h" -#include "jemalloc/internal/prof_data_externs.h" -#include "jemalloc/internal/prof_log_externs.h" +#include "jemalloc/internal/prof_data.h" +#include "jemalloc/internal/prof_log.h" #include "jemalloc/internal/thread_event.h" /* diff --git a/src/prof_data.c b/src/prof_data.c index 5c2b926b..690070e6 100644 --- a/src/prof_data.c +++ b/src/prof_data.c @@ -6,7 +6,7 @@ #include "jemalloc/internal/ckh.h" #include "jemalloc/internal/hash.h" #include "jemalloc/internal/malloc_io.h" -#include "jemalloc/internal/prof_data_externs.h" +#include "jemalloc/internal/prof_data.h" /* * This file defines and manages the core profiling data structures. diff --git a/src/prof_log.c b/src/prof_log.c index 9411b98c..11de4363 100644 --- a/src/prof_log.c +++ b/src/prof_log.c @@ -8,8 +8,8 @@ #include "jemalloc/internal/hash.h" #include "jemalloc/internal/malloc_io.h" #include "jemalloc/internal/mutex.h" -#include "jemalloc/internal/prof_data_externs.h" -#include "jemalloc/internal/prof_log_externs.h" +#include "jemalloc/internal/prof_data.h" +#include "jemalloc/internal/prof_log.h" bool opt_prof_log = false; typedef enum prof_logging_state_e prof_logging_state_t; diff --git a/test/unit/prof_log.c b/test/unit/prof_log.c index e816d4e6..4b14fd56 100644 --- a/test/unit/prof_log.c +++ b/test/unit/prof_log.c @@ -1,5 +1,5 @@ #include "test/jemalloc_test.h" -#include "jemalloc/internal/prof_log_externs.h" +#include "jemalloc/internal/prof_log.h" #define N_PARAM 100 #define N_THREADS 10