Fix: common: add `void` parameter to log_add_time declaration
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 25 Mar 2020 22:39:30 +0000 (18:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Mar 2020 23:07:45 +0000 (19:07 -0400)
commita115e7f0d9fff59cd0e66b573c48b0a5d5eaf27c
treef9761e2181b43114691ca56b08a9122a52c0804e
parent556507f61e54d50e32ce7d8fc0826b09f94bb0bb
Fix: common: add `void` parameter to log_add_time declaration

It makes it match the definition and fixes this warning:

      CC       error.lo
    /home/smarchi/src/lttng-tools/src/common/error.c:33:13: error: no previous prototype for ‘log_add_time’ [-Werror=missing-prototypes]
     const char *log_add_time(void)
                 ^~~~~~~~~~~~

Change-Id: Ibbf5eebd8171504bc7050c754e2a5d113b6b5387
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/error.h
This page took 0.024979 seconds and 4 git commands to generate.