From: Gabor X Toth <*@tg-x.net> Date: Sun, 21 Feb 2016 13:41:26 +0000 (+0000) Subject: indent X-Git-Tag: initial-import-from-subversion-38251~1029 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b8f3b8f3553b5b2f67cd14ad9a4f431f98d505d;p=oweals%2Fgnunet.git indent --- diff --git a/src/include/gnunet_psyc_env.h b/src/include/gnunet_psyc_env.h index 86562900c..0b319e6ef 100644 --- a/src/include/gnunet_psyc_env.h +++ b/src/include/gnunet_psyc_env.h @@ -163,8 +163,8 @@ GNUNET_PSYC_env_create (); */ void GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env, - enum GNUNET_PSYC_Operator oper, const char *name, - const void *value, size_t value_size); + enum GNUNET_PSYC_Operator oper, const char *name, + const void *value, size_t value_size); /** @@ -187,7 +187,7 @@ GNUNET_PSYC_env_tail (const struct GNUNET_PSYC_Environment *env); */ void GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env, - struct GNUNET_PSYC_Modifier *mod); + struct GNUNET_PSYC_Modifier *mod); /** @@ -195,8 +195,8 @@ GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env, */ int GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env, - enum GNUNET_PSYC_Operator *oper, const char **name, - const void **value, size_t *value_size); + enum GNUNET_PSYC_Operator *oper, const char **name, + const void **value, size_t *value_size); /** @@ -210,8 +210,8 @@ GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env, */ typedef int (*GNUNET_PSYC_Iterator) (void *cls, enum GNUNET_PSYC_Operator oper, - const char *name, const char *value, - uint32_t value_size); + const char *name, const char *value, + uint32_t value_size); /** @@ -223,7 +223,7 @@ typedef int */ void GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env, - GNUNET_PSYC_Iterator it, void *it_cls); + GNUNET_PSYC_Iterator it, void *it_cls); /** @@ -273,8 +273,8 @@ GNUNET_PSYC_var_get_type (char *name); */ int GNUNET_PSYC_operation (char *name, void *current_value, size_t current_value_size, - enum GNUNET_PSYC_Operator oper, void *args, size_t args_size, - void **return_value, size_t *return_value_size); + enum GNUNET_PSYC_Operator oper, void *args, size_t args_size, + void **return_value, size_t *return_value_size); /** diff --git a/src/psycutil/psyc_env.c b/src/psycutil/psyc_env.c index b4861a25d..0d8a4ec69 100644 --- a/src/psycutil/psyc_env.c +++ b/src/psycutil/psyc_env.c @@ -66,8 +66,8 @@ GNUNET_PSYC_env_create () */ void GNUNET_PSYC_env_add (struct GNUNET_PSYC_Environment *env, - enum GNUNET_PSYC_Operator oper, const char *name, - const void *value, size_t value_size) + enum GNUNET_PSYC_Operator oper, const char *name, + const void *value, size_t value_size) { struct GNUNET_PSYC_Modifier *mod = GNUNET_new (struct GNUNET_PSYC_Modifier); mod->oper = oper; @@ -104,7 +104,7 @@ GNUNET_PSYC_env_tail (const struct GNUNET_PSYC_Environment *env) */ void GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env, - struct GNUNET_PSYC_Modifier *mod) + struct GNUNET_PSYC_Modifier *mod) { GNUNET_CONTAINER_DLL_remove (env->mod_head, env->mod_tail, mod); } @@ -123,8 +123,8 @@ GNUNET_PSYC_env_remove (struct GNUNET_PSYC_Environment *env, */ int GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env, - enum GNUNET_PSYC_Operator *oper, const char **name, - const void **value, size_t *value_size) + enum GNUNET_PSYC_Operator *oper, const char **name, + const void **value, size_t *value_size) { if (NULL == env->mod_head) return GNUNET_NO; @@ -152,7 +152,7 @@ GNUNET_PSYC_env_shift (struct GNUNET_PSYC_Environment *env, */ void GNUNET_PSYC_env_iterate (const struct GNUNET_PSYC_Environment *env, - GNUNET_PSYC_Iterator it, void *it_cls) + GNUNET_PSYC_Iterator it, void *it_cls) { struct GNUNET_PSYC_Modifier *mod; for (mod = env->mod_head; NULL != mod; mod = mod->next)