diff options
Diffstat (limited to 'src/vendorcode/cavium/include/bdk/lame_string.h')
-rw-r--r-- | src/vendorcode/cavium/include/bdk/lame_string.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vendorcode/cavium/include/bdk/lame_string.h b/src/vendorcode/cavium/include/bdk/lame_string.h new file mode 100644 index 0000000000..7ada9007b4 --- /dev/null +++ b/src/vendorcode/cavium/include/bdk/lame_string.h @@ -0,0 +1,19 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2018-present Facebook, Inc. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef __LAME_STRING_H__ +#define __LAME_STRING_H__ + +long int strtol(const char *nptr, char **endptr, int base); +long long int strtoll(const char *nptr, char **endptr, int base); +unsigned long int strtoul(const char *nptr, char **endptr, int base); +unsigned long long int strtoull(const char *nptr, char **endptr, int base); +int str_to_hex(const char *str, int64_t *val); +int str_to_int(const char *str, int64_t *val); + +#endif |