]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/login/logind-button.h
logind-core: modernize button_free()
[thirdparty/systemd.git] / src / login / logind-button.h
index 041d66521ce51c813992d4e6be069a5de8b9ee3e..6c39471fb44f1cd6294b4538bb0f4d28cb1ad45c 100644 (file)
@@ -20,7 +20,7 @@ struct Button {
 };
 
 Button* button_new(Manager *m, const char *name);
-void button_free(Button *b);
+Button *button_free(Button *b);
 int button_open(Button *b);
 int button_set_seat(Button *b, const char *sn);
 int button_check_switches(Button *b);