This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=b95056b0bf8ff8df0f33c395e6eca566e61bed45

commit b95056b0bf8ff8df0f33c395e6eca566e61bed45
Author: Simon Richter <[email protected]>
AuthorDate: Sat May 6 04:09:15 2023 +0900

    libdpkg: Mark functions in headers as inline
    
    Signed-off-by: Guillem Jover <[email protected]>
---
 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;

-- 
Dpkg.Org's dpkg

Reply via email to