diff options
Diffstat (limited to 'src/shared/libosmocore/include/osmocore/utils.h')
-rw-r--r-- | src/shared/libosmocore/include/osmocore/utils.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/shared/libosmocore/include/osmocore/utils.h b/src/shared/libosmocore/include/osmocore/utils.h deleted file mode 100644 index 51c6f035..00000000 --- a/src/shared/libosmocore/include/osmocore/utils.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef OSMOCORE_UTIL_H -#define OSMOCORE_UTIL_H - -#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) - -#include <stdint.h> - -struct value_string { - unsigned int value; - const char *str; -}; - -const char *get_value_string(const struct value_string *vs, uint32_t val); -int get_string_value(const struct value_string *vs, const char *str); - -char bcd2char(uint8_t bcd); -/* only works for numbers in ascci */ -uint8_t char2bcd(char c); - -#endif |