aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 12:01:49 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 12:01:53 +0200
commita84874426d3a73993e858d6582a7b94bddb8dfba (patch)
treee312fcb1f5111930e4e7bfb6f1a5154134fdec69 /src
parentf38dfd9231c8bcea413523a4b0d954f0c1859a9e (diff)
downloadmpd-a84874426d3a73993e858d6582a7b94bddb8dfba.tar.gz
mpd-a84874426d3a73993e858d6582a7b94bddb8dfba.tar.xz
mpd-a84874426d3a73993e858d6582a7b94bddb8dfba.zip
command: remove enum integer values
Just use the values assigned by the compiler.
Diffstat (limited to 'src')
-rw-r--r--src/command.h8
1 files 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 <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;