From a84874426d3a73993e858d6582a7b94bddb8dfba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 Sep 2012 12:01:49 +0200 Subject: command: remove enum integer values Just use the values assigned by the compiler. --- src/command.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/command.h b/src/command.h index 2dfc11758..c59614b5f 100644 --- a/src/command.h +++ b/src/command.h @@ -25,10 +25,10 @@ #include 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; -- cgit v1.2.3