summaryrefslogtreecommitdiff
path: root/zwgc/substitute.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/substitute.c')
-rw-r--r--zwgc/substitute.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/zwgc/substitute.c b/zwgc/substitute.c
index ebbd913..d50614c 100644
--- a/zwgc/substitute.c
+++ b/zwgc/substitute.c
@@ -38,9 +38,9 @@ static char rcsid_substitute_c[] = "$Id$";
* The returned string must not be freed.
*/
-static string eat_dollar_sign_stuff(lookup, text_ptr)
- string (*lookup)();
- string *text_ptr; /* Input/Output parameter */
+static string
+eat_dollar_sign_stuff(string (*lookup)(string),
+ string *text_ptr) /* Input/Output parameter */
{
char c;
char closing_brace = 0;
@@ -132,9 +132,9 @@ static string eat_dollar_sign_stuff(lookup, text_ptr)
* modified in any way or freed.
*/
-string substitute(lookup, text)
- string (*lookup)();
- string text;
+string
+substitute(string (*lookup)(string),
+ string text)
{
string result_so_far = string_Copy("");
char *p, *temp;