remove obsolete declaration of atoi and strtol

This commit is contained in:
Stefan Lankes 2013-11-13 23:32:42 +01:00
parent dcf3f79e9b
commit fc33e338a4

View file

@ -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