bison-patches
[Top][All Lists]
Advanced

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

[PATCH 3/3] m4: remove b4_function_define and b4_function_declare


From: Akim Demaille
Subject: [PATCH 3/3] m4: remove b4_function_define and b4_function_declare
Date: Mon, 2 Mar 2020 07:01:15 +0100

* data/skeletons/c.m4: here.
---
 data/skeletons/c.m4 | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/data/skeletons/c.m4 b/data/skeletons/c.m4
index 43f87624..06610ecb 100644
--- a/data/skeletons/c.m4
+++ b/data/skeletons/c.m4
@@ -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], ...)
 # -------------------------------
 # 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.  ##
 ## --------------------- ##
-- 
2.25.1




reply via email to

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