command: remove enum integer values
Just use the values assigned by the compiler.
This commit is contained in:
parent
f38dfd9231
commit
a84874426d
@ -25,10 +25,10 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
enum command_return {
|
enum command_return {
|
||||||
COMMAND_RETURN_ERROR = -1,
|
COMMAND_RETURN_OK,
|
||||||
COMMAND_RETURN_OK = 0,
|
COMMAND_RETURN_ERROR,
|
||||||
COMMAND_RETURN_KILL = 10,
|
COMMAND_RETURN_CLOSE,
|
||||||
COMMAND_RETURN_CLOSE = 20,
|
COMMAND_RETURN_KILL,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct client;
|
struct client;
|
||||||
|
Loading…
Reference in New Issue
Block a user