diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-18 04:15:56 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-19 00:25:40 +0100 |
commit | 0fce5bca6498ce007dfcd7d537c7e7c4d54cf6f6 (patch) | |
tree | 6ad8e20908d61594f6b809a5a246354fa0aac050 /src | |
parent | 8b0a680511b9794fa07154ebfa53f71ad6a108d4 (diff) | |
download | sds-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/sds.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |