aboutsummaryrefslogtreecommitdiffstats
path: root/include/inttypes.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2001-11-15 02:05:03 +0000
committerMike Barcroft <mike@FreeBSD.org>2001-11-15 02:05:03 +0000
commit7a4a63270ffd4cf0deae379b3ad32f57ea3c3e9d (patch)
tree65345c27494b147fb94a03b0e7ab6a7afb3725cd /include/inttypes.h
parentf209c331393ab8a2b716c21543e696a07809e512 (diff)
downloadsrc-7a4a63270ffd4cf0deae379b3ad32f57ea3c3e9d.tar.gz
src-7a4a63270ffd4cf0deae379b3ad32f57ea3c3e9d.zip
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
Notes
Notes: svn path=/head/; revision=86368
Diffstat (limited to 'include/inttypes.h')
-rw-r--r--include/inttypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index f6b19229b0a5..63871914aa9e 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);