Commit a8487442 authored by Max Kellermann's avatar Max Kellermann

command: remove enum integer values

Just use the values assigned by the compiler.
parent f38dfd92
......@@ -25,10 +25,10 @@
#include <stdbool.h>
enum command_return {
COMMAND_RETURN_ERROR = -1,
COMMAND_RETURN_OK = 0,
COMMAND_RETURN_KILL = 10,
COMMAND_RETURN_CLOSE = 20,
COMMAND_RETURN_OK,
COMMAND_RETURN_ERROR,
COMMAND_RETURN_CLOSE,
COMMAND_RETURN_KILL,
};
struct client;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment