X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fstrtol10.h;h=4dfe7a479cb700e533f55ac5660583d3276df758;hb=8bab11971bc4e89f1a0ab56101ed3babf93fcd1d;hp=e41a98e834560903a63efd5a5ab9fcb1e7e3aded;hpb=ab425430a31e363120a8847bfed6f23811adeeee;p=bertos.git diff --git a/mware/strtol10.h b/mware/strtol10.h old mode 100755 new mode 100644 index e41a98e8..4dfe7a47 --- a/mware/strtol10.h +++ b/mware/strtol10.h @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \brief Poor man's hex arrays (implementation). @@ -11,22 +36,16 @@ * \author Bernardo Innocenti */ -/*#* - *#* $Log$ - *#* Revision 1.1 2005/03/15 00:06:30 bernie - *#* Simpler, smaller, faster. - *#* - *#*/ #ifndef MWARE_STRTOL10_H #define MWARE_STRTOL10_H -#include /* bool */ +#include /* bool */ bool strtoul10(const char *first, const char *last, unsigned long *val); bool strtol10(const char *first, const char *last, long *val); -/*! +/** * Replacement for standard library function atol(). */ INLINE long atol(const char *str) @@ -36,7 +55,7 @@ INLINE long atol(const char *str) return val; } -/*! +/** * Replacement for standard library function atoi(). */ INLINE int atoi(const char *str)