summaryrefslogtreecommitdiff
path: root/common/expr.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2011-05-13 12:15:39 +0000
committerArthur de Jong <arthur@arthurdejong.org>2011-05-13 12:15:39 +0000
commit66bbb452261065da0fbba5160b255491cd47e762 (patch)
tree96f54a2bcc7f9b4bdf385610952a358879253b30 /common/expr.c
parent478bd403f522b29cfc406c7335bcee2e5f3bf446 (diff)
switch variable expander function type name because _t suffix is reserved
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1458 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'common/expr.c')
-rw-r--r--common/expr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/expr.c b/common/expr.c
index b5aaf5e..fc694cc 100644
--- a/common/expr.c
+++ b/common/expr.c
@@ -73,14 +73,14 @@ static const char *empty_expander(const char UNUSED(*name),void UNUSED(*expander
/* definition of the parse functions (they call eachother) */
MUST_USE static const char *parse_dollar_expression(
const char *str,int *ptr,char *buffer,size_t buflen,
- expander_t expander,void *expander_arg);
+ expr_expander_func expander,void *expander_arg);
MUST_USE static const char *parse_expression(
const char *str,int *ptr,int endat,char *buffer,size_t buflen,
- expander_t expander,void *expander_arg);
+ expr_expander_func expander,void *expander_arg);
MUST_USE static const char *parse_dollar_expression(
const char *str,int *ptr,char *buffer,size_t buflen,
- expander_t expander,void *expander_arg)
+ expr_expander_func expander,void *expander_arg)
{
char varname[MAXVARLENGTH];
const char *varvalue;
@@ -157,7 +157,7 @@ MUST_USE static const char *parse_dollar_expression(
MUST_USE static const char *parse_expression(
const char *str,int *ptr,int endat,char *buffer,size_t buflen,
- expander_t expander,void *expander_arg)
+ expr_expander_func expander,void *expander_arg)
{
int j=0;
/* go over string */
@@ -190,7 +190,7 @@ MUST_USE static const char *parse_expression(
}
MUST_USE const char *expr_parse(const char *str,char *buffer,size_t buflen,
- expander_t expander,void *expander_arg)
+ expr_expander_func expander,void *expander_arg)
{
int i=0;