* java-assert.h: Unused, removed.
authortwisti <none@none>
Sun, 8 Jan 2006 22:11:14 +0000 (22:11 +0000)
committertwisti <none@none>
Sun, 8 Jan 2006 22:11:14 +0000 (22:11 +0000)
src/fdlibm/Makefile.am
src/fdlibm/java-assert.h [deleted file]

index 07b251875508bdcb588e352ef7338aaed36a03bc..0cb384ce20c3b386d33743a5277cee325633289d 100644 (file)
@@ -6,12 +6,7 @@ libfdlibm_la_SOURCES =  \
                        e_fmod.c \
                        fdlibm.h \
                        ieeefp.h \
-                       java-assert.h \
                        mprec.h \
                        s_copysign.c \
                        s_finite.c \
                        w_fmod.c
-
-# We just want the standard flags for fdlibm since it is an upstream lib
-# and our normal -pedantic -Wall -Werror breaks this lib. So no AM_CFLAGS.
-# We also don't need extra includes, so no AM_CPPFLAGS either.
diff --git a/src/fdlibm/java-assert.h b/src/fdlibm/java-assert.h
deleted file mode 100644 (file)
index 4b2d836..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/* java-assert.h - Header file holding assertion definitions.  -*- c++ -*- */
-
-/* Copyright (C) 1998, 1999  Free Software Foundation
-
-   This file is part of libgcj.
-
-This software is copyrighted work licensed under the terms of the
-Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
-details.  */
-
-#ifndef __JAVA_ASSERT_H__
-#define __JAVA_ASSERT_H__
-
-#include "config.h"
-
-/* This is a libgcj implementation header. */
-
-void _Jv_Abort (const char *, const char *, int, const char *)
-  __attribute__ ((__noreturn__));
-
-#ifdef DEBUG
-#define _Jv_AssertDoCall(Message) _Jv_Abort (__FUNCTION__, __FILE__, __LINE__, Message)
-
-#define JvAssertMessage(Expr, Message) \
-   do { if (! (Expr)) _Jv_AssertDoCall (Message); } while (0)
-#define JvAssert(Expr) \
-   do { if (! (Expr)) _Jv_AssertDoCall (# Expr); } while (0)
-
-#define JvFail(Message) _Jv_AssertDoCall (Message)
-
-#else /* DEBUG */
-
-#define _Jv_AssertDoCall(Message)
-#define JvAssertMessage(Expr, Message)
-#define JvAssert(Expr)
-#define JvFail(Message) _Jv_Abort (0, 0, 0, Message)
-
-#endif /* not DEBUG */
-
-#endif /* __JAVA_ASSERT_H__ */