m4: remove b4_function_define and b4_function_declare

* data/skeletons/c.m4: here.
This commit is contained in:
Akim Demaille
2020-03-02 04:41:16 +01:00
parent 79c3f2b8fd
commit 99bedadf23

View File

@@ -507,15 +507,6 @@ m4_define([b4_symbol_value],
## ---------------------- ## ## ---------------------- ##
# b4_function_define(NAME, RETURN-VALUE, [DECL1, NAME1], ...)
# -----------------------------------------------------------
# Declare the function NAME in C.
m4_define([b4_function_define],
[$2
$1 (b4_formals(m4_shift2($@)))[]dnl
])
# b4_formals([DECL1, NAME1], ...) # b4_formals([DECL1, NAME1], ...)
# ------------------------------- # -------------------------------
# The formal arguments of a C function definition. # The formal arguments of a C function definition.
@@ -529,21 +520,6 @@ m4_define([b4_formal],
## ----------------------- ##
## Declaring C functions. ##
## ----------------------- ##
# b4_function_declare(NAME, RETURN-VALUE, [DECL1, NAME1], ...)
# ------------------------------------------------------------
# Declare the function NAME.
m4_define([b4_function_declare],
[$2 $1 (b4_formals(m4_shift2($@)));[]dnl
])
## --------------------- ## ## --------------------- ##
## Calling C functions. ## ## Calling C functions. ##
## --------------------- ## ## --------------------- ##