From c7bb19c55c7a902e25bdd33b0d49a2ddcf62e07a Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 22 Dec 2012 21:38:26 +0000 Subject: update C coding style to a more commonly used style git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1873 ef36b2f9-881f-0410-afb5-c4e39611909c --- common/expr.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/expr.h') diff --git a/common/expr.h b/common/expr.h index 0ff2c28..2f6ca1b 100644 --- a/common/expr.h +++ b/common/expr.h @@ -2,7 +2,7 @@ expr.h - limited shell-like expression parsing functions This file is part of the nss-pam-ldapd library. - Copyright (C) 2009 Arthur de Jong + Copyright (C) 2009, 2012 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -26,16 +26,16 @@ #include "compat/attrs.h" #include "common/set.h" -typedef const char *(*expr_expander_func)(const char *name,void *expander_arg); +typedef const char *(*expr_expander_func) (const char *name, void *expander_arg); /* Parse the expression and store the result in buffer, using the expander function to expand variable names to values. If the expression is invalid or the result didn't fit in the buffer NULL is returned. */ -MUST_USE const char *expr_parse(const char *expr,char *buffer,size_t buflen, - expr_expander_func expander,void *expander_arg); +MUST_USE const char *expr_parse(const char *expr, char *buffer, size_t buflen, + expr_expander_func expander, void *expander_arg); /* Return the variable names that are used in expr. If set is NULL a new one is allocated, otherwise the passed set is added to. */ -SET *expr_vars(const char *expr,SET *set); +SET *expr_vars(const char *expr, SET *set); #endif /* not _COMMON__ */ -- cgit v1.2.3