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>
Mon, 6 Apr 2020 14:36:34 +0000 (10:36 -0400)
commit57028f14756583b324db499cae212bd15ed83603
tree2bbc7eb2171da2f56cd9704a5a9b1f638f9a3dfe
parent8d0af2dc2f41234bd89063f0a1e2f17ec2064b2b
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.025165 seconds and 4 git commands to generate.