Commit 48b98b34 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Remove no longer needed overrides.

parent ded542c8
......@@ -106,19 +106,10 @@ abort_f(MPI_Fint *comm_f, const char *msg,
# define PROTOCCALLSFSUB14(UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \
_(VOID,_cfPU)(CFC_(UN,LN))( CFARGT14(NCF,KCF,_Z,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) ) \
__attribute__((noreturn));
# if defined __clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wkeyword-macro"
# endif
# define return
# if defined __clang__
# pragma GCC diagnostic pop
# endif
#endif
FCALLSCSUB4(abort_f, SYMPREFIX(ABORT), symprefix(abort),
PVOID, STRING, STRING, INT)
#ifndef __CF__KnR
# undef return
# undef PROTOCCALLSFSUB14
# define PROTOCCALLSFSUB14(UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \
_(VOID,_cfPU)(CFC_(UN,LN))( CFARGT14(NCF,KCF,_Z,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) );
......@@ -159,9 +150,6 @@ abort_default_f(MPI_Fint *comm_f, const char *msg, const char *source,
#undef FCALLSC_QUALIFIER
#define FCALLSC_QUALIFIER
/* since we rely on C99, explicitly set empty parameter list */
#undef PROTOCCALLSFSUB0
#define PROTOCCALLSFSUB0(UN,LN) _(VOID,_cfPU)(CFC_(UN,LN))(void);
FCALLSCSUB0(SymPrefix(restore_default_abort_handler),
SYMPREFIX(RESTORE_DEFAULT_ABORT_HNDL),
symprefix(restore_default_abort_hndl))
......@@ -171,20 +159,11 @@ FCALLSCSUB0(SymPrefix(restore_default_abort_handler),
# define PROTOCCALLSFSUB14(UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \
_(VOID,_cfPU)(CFC_(UN,LN))( CFARGT14(NCF,KCF,_Z,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) ) \
__attribute__((noreturn));
# if defined __clang__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wkeyword-macro"
# endif
# define return
# if defined __clang__
# pragma GCC diagnostic pop
# endif
#endif
FCALLSCSUB4(abort_default_f,SYMPREFIX(ABORT_DEFAULT),
symprefix(abort_default),
PVOID,STRING,STRING,INT)
#ifndef __CF__KnR
# undef return
# undef PROTOCCALLSFSUB14
# define PROTOCCALLSFSUB14(UN,LN,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) \
_(VOID,_cfPU)(CFC_(UN,LN))( CFARGT14(NCF,KCF,_Z,T1,T2,T3,T4,T5,T6,T7,T8,T9,TA,TB,TC,TD,TE) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment