aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-11 00:37:11 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-11 00:37:11 +0100
commitd2ba67e68b6a7e262be4fac31fecf3977494c4a4 (patch)
tree2fc16f5640bd8281fbf412124f9a82ac351a3009 /src/utils.h
parenta856598c95e5820e855f2483a49db5aa5e97176f (diff)
downloadyawa-d2ba67e68b6a7e262be4fac31fecf3977494c4a4.tar.xz
use ‘signed’ instead of ‘int’, redo prototypes
The flip arguments are implemented so delete comment
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h
index ae9612e..50703b0 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -2,8 +2,15 @@
#define UTILS_H
#include <stdbool.h>
-int parse_int(char *string, char *arg);
-unsigned int parse_uint(char *string, char *arg);
-bool parse_color(char *arg, Color *c, int a);
+/// Prototypes
+
+signed
+parse_int(char *string, char *arg);
+
+unsigned
+parse_uint(char *string, char *arg);
+
+bool
+parse_color(char *arg, Color *c, int a);
#endif