summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-09-19 11:26:31 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-09-19 11:26:31 +0200
commitd3c827e7c8208afeaed880cf8cf2515c86d10f17 (patch)
tree566b7c553ae41b340b09802ebd301e8a804d46b6 /stdlib
parentfe1cc35abb6e968d0b12d7ff3ef78cf821a5f48d (diff)
stdlib/longlong.h: Add __udiv_w_sdiv prototype.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/longlong.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/longlong.h b/stdlib/longlong.h
index 31f88cb3f5..42c68ddd62 100644
--- a/stdlib/longlong.h
+++ b/stdlib/longlong.h
@@ -1687,7 +1687,8 @@ extern UHItype __stormy16_count_leading_zeros (UHItype);
#if !defined (udiv_qrnnd) && defined (sdiv_qrnnd)
#define udiv_qrnnd(q, r, nh, nl, d) \
do { \
- USItype __r; \
+ extern UWtype __udiv_w_sdiv (UWtype *, UWtype, UWtype, UWtype); \
+ UWtype __r; \
(q) = __udiv_w_sdiv (&__r, nh, nl, d); \
(r) = __r; \
} while (0)