classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: small warning fixes in fdlibm


From: Dalibor Topic
Subject: [cp-patches] FYI: small warning fixes in fdlibm
Date: Mon, 19 Dec 2005 21:27:18 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051117)

Hi all,

I've fixed a small compiler warning issue with fdlibm.

cheers,
dalibor topic

2005-12-19  Dalibor Topic  <address@hidden>

        * native/fdlibm/mprec.h (DEBUG): Include stdlib.h for
        exit() prototype to fix compiler warning.
Index: native/fdlibm/mprec.h
===================================================================
RCS file: /sources/classpath/classpath/native/fdlibm/mprec.h,v
retrieving revision 1.6
diff -u -r1.6 mprec.h
--- native/fdlibm/mprec.h       16 Dec 2005 21:11:23 -0000      1.6
+++ native/fdlibm/mprec.h       19 Dec 2005 20:10:43 -0000
@@ -86,6 +86,7 @@
 
 #ifdef DEBUG
 #include "stdio.h"
+#include <stdlib.h>
 #define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);}
 #endif
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]