aboutsummaryrefslogtreecommitdiff
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
parentfe1cc35abb6e968d0b12d7ff3ef78cf821a5f48d (diff)
downloadglibc-d3c827e7c8208afeaed880cf8cf2515c86d10f17.zip
glibc-d3c827e7c8208afeaed880cf8cf2515c86d10f17.tar.gz
glibc-d3c827e7c8208afeaed880cf8cf2515c86d10f17.tar.bz2
stdlib/longlong.h: Add __udiv_w_sdiv prototype.
-rw-r--r--ChangeLog4
-rw-r--r--stdlib/longlong.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6c96ce..778b3e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
+
2014-09-17 Arjun Shankar <arjun.is@lostca.se>
* time/tst-ftime.c: New test.
diff --git a/stdlib/longlong.h b/stdlib/longlong.h
index 31f88cb..42c68dd 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)