summaryrefslogtreecommitdiff
path: root/print_rnd_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'print_rnd_mode.c')
-rw-r--r--print_rnd_mode.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/print_rnd_mode.c b/print_rnd_mode.c
index b9b9bace5..49d33a449 100644
--- a/print_rnd_mode.c
+++ b/print_rnd_mode.c
@@ -19,8 +19,7 @@ along with the MPFR Library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA. */
-#include "gmp.h"
-#include "mpfr.h"
+#include "mpfr-impl.h"
const char *
mpfr_print_rnd_mode (mp_rnd_t rnd_mode)
@@ -35,7 +34,7 @@ mpfr_print_rnd_mode (mp_rnd_t rnd_mode)
return "GMP_RNDN";
case GMP_RNDZ:
return "GMP_RNDZ";
+ default:
+ return (const char*) 0;
}
-
- return (char *) 0;
}