From fc33e338a455202c675c415562237d90c7692bdc Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 13 Nov 2013 23:32:42 +0100 Subject: [PATCH] remove obsolete declaration of atoi and strtol --- include/eduos/stdlib.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/include/eduos/stdlib.h b/include/eduos/stdlib.h index 3267837..2a50007 100644 --- a/include/eduos/stdlib.h +++ b/include/eduos/stdlib.h @@ -44,33 +44,6 @@ extern "C" { #endif -/** @brief String to long - * - * Convert a string value to a long - * - * @return Long value of the parsed numerical string - */ -long strtol(const char* str, char** endptr, int base); - -/** @brief String to unsigned long - * - * Convert a string value to a unsigned long - * - * @return Unsigned long value of the parsed numerical string - */ -unsigned long strtoul(const char* nptr, char** endptr, int base); - -/** @brief ASCII to integer - * - * Convert ASCII string to integer - * - * @return Integer value of the parsed numerical string - */ -static inline int atoi(const char *str) -{ - return (int)strtol(str, (char **)NULL, 10); -} - #ifdef __cplusplus } #endif