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 22:01:40 +0000 (18:01 -0400)
commit898ba13216992affd6cb40fe11c64bdc6e65ca9e
treef9761e2181b43114691ca56b08a9122a52c0804e
parent20095472d0b5db48cbfb4c912a22d9ab1e3d1c63
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.026837 seconds and 4 git commands to generate.