diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2002-08-15 09:25:04 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2002-08-15 09:25:04 +0000 |
commit | 5618f72405ba7a6b9d960d494f9db670ba994b3f (patch) | |
tree | b37b20746e471ae334376a361c54543969e8e35f /include/inttypes.h | |
parent | 0d533e437d5ab3149e9380d9b0b7819221869d9f (diff) |
- Add the 'restrict' qualifier to the function prototypes and
definitions of the functions that convert strings to numbers
and are defined by IEEE Std 1003-1.2001.
- Use ANSI-C function definitions for all of the functions
mentioned above plus strtouq and strtoq.
- Update the prototypes in the manual pages.
Notes
Notes:
svn path=/head/; revision=101912
Diffstat (limited to 'include/inttypes.h')
-rw-r--r-- | include/inttypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inttypes.h b/include/inttypes.h index cd59bedb90f2..d2b86ddbd44a 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -48,9 +48,9 @@ __BEGIN_DECLS intmax_t imaxabs(intmax_t) __pure2; imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2; +intmax_t strtoimax(const char *__restrict, char **__restrict, int); +uintmax_t strtoumax(const char *__restrict, char **__restrict, int); /* XXX: The following functions are missing the restrict type qualifier. */ -intmax_t strtoimax(const char *, char **, int); -uintmax_t strtoumax(const char *, char **, int); intmax_t wcstoimax(const wchar_t *, wchar_t **, int); uintmax_t wcstoumax(const wchar_t *, wchar_t **, int); __END_DECLS |