From d66f54593c67177cb99dddb75feebe94843d77be Mon Sep 17 00:00:00 2001
From: Joern Rennecke <joern.rennecke@embecosm.com>
Date: Wed, 30 Jun 2010 18:08:56 +0000
Subject: target.def (resolve_overloaded_builtin): Rename params to arglist.

	* target.def (resolve_overloaded_builtin): Rename params to arglist.
	Use DEFHOOK.
	* doc/tm.texi.in (TARGET_RESOLVE_OVERLOADED_BUILTIN): Use @hook.
	* doc/tm.texi: Regenerate.

From-SVN: r161626
---
 gcc/target.def | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'gcc/target.def')

diff --git a/gcc/target.def b/gcc/target.def
index e4b2fb5..a4e5fcd 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -1030,12 +1030,10 @@ DEFHOOK
    implement a crude form of function overloading.  The result is a
    complete expression that implements the operation.  PARAMS really
    has type VEC(tree,gc)*, but we don't want to include tree.h here.  */
- /* ??? params is called differently in the documentation, and we can't
-    fix that because of GPL / GFDL incompatibility.  */
-DEFHOOK_UNDOC
+DEFHOOK
 (resolve_overloaded_builtin,
  "",
- tree, (unsigned int /*location_t*/ loc, tree fndecl, void *params), NULL)
+ tree, (unsigned int /*location_t*/ loc, tree fndecl, void *arglist), NULL)
 
 /* Fold a target-specific builtin.  */
 DEFHOOK
-- 
cgit v1.1

