diff options
author | mike <mike@FreeBSD.org> | 2001-11-15 02:05:03 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2001-11-15 02:05:03 +0000 |
commit | 77077eee7a0b8b2526ff4a29cc2169f2ff32443a (patch) | |
tree | 65345c27494b147fb94a03b0e7ab6a7afb3725cd /include/inttypes.h | |
parent | 98952b6123387585d404e1f5fb784fb2fba20957 (diff) | |
download | FreeBSD-src-77077eee7a0b8b2526ff4a29cc2169f2ff32443a.zip FreeBSD-src-77077eee7a0b8b2526ff4a29cc2169f2ff32443a.tar.gz |
o Implement imaxabs(), imaxdiv(), llabs(), lldiv().
o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards
conformance and add additional references.
Reviewed by: bde, wollman
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 f6b1922..6387191 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -42,8 +42,8 @@ typedef struct { intmax_t rem; /* Remainder. */ } imaxdiv_t; -intmax_t imaxabs(intmax_t); -imaxdiv_t imaxdiv(intmax_t, intmax_t); +intmax_t imaxabs(intmax_t) __pure2; +imaxdiv_t imaxdiv(intmax_t, intmax_t) __pure2; /* XXX: The following functions are missing the restrict type qualifier. */ intmax_t strtoimax(const char *, char **, int); |