mirror of
https://github.com/troglobit/finit.git
synced 2026-10-22 11:36:07 +00:00
initctl: Refactor, use struct command rather than command_t
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
8f00ac2e90
commit
112ab2c22f
2 files changed
+7
-7
No files matched your search
@@ -27,11 +27,6 @@
|
||||
#include "finit.h"
|
||||
#include "svc.h"
|
||||
|
||||
typedef struct {
|
||||
char *cmd;
|
||||
int (*cb)(char *arg);
|
||||
} command_t;
|
||||
|
||||
int client_connect (void);
|
||||
int client_disconnect (void);
|
||||
|
||||
|
||||
Reference in new issue
Block a user