]> git.ipfire.org Git - thirdparty/systemd.git/commit
ac-power: define main through macro
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Nov 2018 09:39:57 +0000 (10:39 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 17 Nov 2018 08:13:35 +0000 (09:13 +0100)
commit9a5cedc319d56bbf3e65046e8e73ee94612f0fef
treec357edf4903b45a68b0e550b07213878739cfce9
parenta974a6569e31665717661dbf223e5ab36a515fb8
ac-power: define main through macro

I decided to use a separate definition for this because it's too easy to return
positive from functions which don't need this distinction and only return
negative on error and success otherwise.
src/ac-power/ac-power.c
src/basic/macro.h