[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 2/2] Mark functions in headers as inline



---
 lib/dpkg/perf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/dpkg/perf.h b/lib/dpkg/perf.h
index a46792a43..48e69ccde 100644
--- a/lib/dpkg/perf.h
+++ b/lib/dpkg/perf.h
@@ -47,7 +47,7 @@ perf_ts_sub(struct timespec *a, struct timespec *b, struct timespec *res)
 	}
 }
 
-static void
+static inline void
 perf_ts_mark_print(const char *str)
 {
 	struct timespec ts;
@@ -57,7 +57,7 @@ perf_ts_mark_print(const char *str)
 	printf("%lu.%.9lu: %s\n", ts.tv_sec, ts.tv_nsec, str);
 }
 
-static void
+static inline void
 perf_ts_slot_print(struct perf_slot *ps, const char *str)
 {
 	struct timespec t_res;
-- 
2.39.2


Reply to: