aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-18 04:15:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-19 00:25:40 +0100
commit0fce5bca6498ce007dfcd7d537c7e7c4d54cf6f6 (patch)
tree6ad8e20908d61594f6b809a5a246354fa0aac050
parent8b0a680511b9794fa07154ebfa53f71ad6a108d4 (diff)
downloadsds-0fce5bca6498ce007dfcd7d537c7e7c4d54cf6f6.tar.xz
sds.c: Add two function prototypes
is_hex_digit and hex_digit_to_int functions had no function prototypes. Silences two warnings.
-rw-r--r--src/sds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sds.c b/src/sds.c
index f0515f1..f3396c9 100644
--- a/src/sds.c
+++ b/src/sds.c
@@ -33,6 +33,9 @@
#include "sds.h"
+int is_hex_digit(char c);
+int hex_digit_to_int(char c);
+
/* Create a new sds string with the content specified by the 'init' pointer
* and 'initlen'.
* If NULL is used for 'init' the string is initialized with zero bytes.