summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2010-10-22 23:58:05 -0500
committerDan McGee <dpmcgee@gmail.com>2011-01-21 15:46:29 -0600
commit87497dc4492c534106ca3bfcc6a447fe257bb50b (patch)
tree496fca6011760695323216090c9ddd7b9c950ac5
parent21581b7d96463af76bca475d0cf64fe0b0bb48fe (diff)
downloadonkyocontrol-87497dc4492c534106ca3bfcc6a447fe257bb50b.tar.gz
onkyocontrol-87497dc4492c534106ca3bfcc6a447fe257bb50b.zip
Move a few enums around
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r--onkyo.c3
-rw-r--r--onkyo.h5
2 files changed, 4 insertions, 4 deletions
diff --git a/onkyo.c b/onkyo.c
index 195139c..2dcc3f4 100644
--- a/onkyo.c
+++ b/onkyo.c
@@ -45,9 +45,6 @@
#include "onkyo.h"
-/* an enum useful for keeping track of two paired file descriptors */
-enum pipehalfs { READ = 0, WRITE = 1 };
-
struct fdlist {
int fd;
struct fdlist *next;
diff --git a/onkyo.h b/onkyo.h
index b131d78..50a89f3 100644
--- a/onkyo.h
+++ b/onkyo.h
@@ -34,7 +34,7 @@
#define START_RECV "!1"
#define END_RECV ""
-/* power status bit values */
+/** Power status bit values */
enum power {
POWER_OFF = 0,
MAIN_POWER = (1 << 0),
@@ -42,6 +42,9 @@ enum power {
ZONE3_POWER = (1 << 2),
};
+/** Keep track of two paired file descriptors */
+enum pipehalfs { READ = 0, WRITE = 1 };
+
/* onkyo.c - functions operating on our static vars */
int queue_rcvr_command(char *cmd);