commit 71939fea04b77ed8084964467eb7ee9fddf1d79d
parent 6b1d09afdbdca560398c966b3ef612e442b590c7
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 13 Jul 2021 22:33:59 -0700
Rename player_state enum
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aps/player.h b/aps/player.h
@@ -1,4 +1,4 @@
-enum player_state {
+enum pstate {
RUNNING = 1,
STOPPED = 2,
SUSPENDED = 4,
@@ -9,7 +9,7 @@ struct player {
char **argv;
char *prog;
char path[PATH_MAX];
- int state;
+ enum pstate state;
pid_t pid;
};