diff options
author | Jaroslav Kysela <perex@perex.cz> | 2008-07-31 15:45:08 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-31 15:45:08 +0200 |
commit | b402cf543aee5f6cd7561d964065a26f07459c8c (patch) | |
tree | cb028a4e2a81125e7b7944551468c39b27dc52eb /alsactl/state.c | |
parent | d84146df878d5c3fcb8018a300b88ae5d4f2ab55 (diff) | |
download | alsa-utils-b402cf543aee5f6cd7561d964065a26f07459c8c.tar.gz |
Initial 'alsactl init' implementation
See 'man 7 alsactl_init' for more details.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsactl/state.c')
-rw-r--r-- | alsactl/state.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/alsactl/state.c b/alsactl/state.c index 6c7f853..90e58cd 100644 --- a/alsactl/state.c +++ b/alsactl/state.c @@ -151,19 +151,6 @@ static char *tlv_to_str(unsigned int *tlv) return s; } -static int hextodigit(int c) -{ - if (c >= '0' && c <= '9') - c -= '0'; - else if (c >= 'a' && c <= 'f') - c = c - 'a' + 10; - else if (c >= 'A' && c <= 'F') - c = c - 'A' + 10; - else - return -1; - return c; -} - static unsigned int *str_to_tlv(const char *s) { int i, j, c, len; |