chiark / gitweb /
basic/log: add the log_struct terminator to macro
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 4 Jun 2018 10:59:22 +0000 (12:59 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit74102fa68ea25cd7e8914f112f357760130728fb
treed07112608de6fb911e0cdde0dbcc9cc28f081e8e
parent2ec9aee55b39af874d9582d3884c02f43d6c98fe
basic/log: add the log_struct terminator to macro

This way all callers do not need to specify it.
Exhaustively tested by running test-log under valgrind ;)
src/basic/log.h
src/login/logind-button.c
src/login/logind-dbus.c
src/login/logind-seat.c
src/login/logind-session.c
src/sleep/sleep.c
src/test/test-log.c