From b06d1145fa6902c3f521fd04fcd48aae441febd1 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <stefan_ml@behnel.de>
Date: Thu, 7 Feb 2013 22:33:14 +0100
Subject: [PATCH] fix ticket 801: wrong declarations in math.pxd for frexp()
 and ldexp()

---
 Cython/Includes/libc/math.pxd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cython/Includes/libc/math.pxd b/Cython/Includes/libc/math.pxd
index 60a942a45..4ce8e7275 100644
--- a/Cython/Includes/libc/math.pxd
+++ b/Cython/Includes/libc/math.pxd
@@ -44,8 +44,8 @@ cdef extern from "math.h" nogil:
     double lgamma(double x)
     double tgamma(double x)
 
-    double frexp(double x, double* exponent)
-    double ldexp(double x, double exponent)
+    double frexp(double x, int* exponent)
+    double ldexp(double x, int exponent)
 
     double modf(double x, double* iptr)
     double fmod(double x, double y)
-- 
2.30.9