summaryrefslogtreecommitdiffhomepage
path: root/ir/libcore
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2017-03-31 20:33:44 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2017-03-31 20:43:57 +0200
commit074d82e52ef67cbc91171d243f69a404c832a3d8 (patch)
tree79357f3d2c11a85ddfd5d76edeaa68107e981cc1 /ir/libcore
parent74f45455361a9066cef41be258caa9393e7baba6 (diff)
Unify indentation of function parameters
Diffstat (limited to 'ir/libcore')
-rw-r--r--ir/libcore/lc_appendable.c4
-rw-r--r--ir/libcore/lc_opts.c18
-rw-r--r--ir/libcore/lc_printf.c2
3 files changed, 12 insertions, 12 deletions
diff --git a/ir/libcore/lc_appendable.c b/ir/libcore/lc_appendable.c
index afc0dc4..a68946d 100644
--- a/ir/libcore/lc_appendable.c
+++ b/ir/libcore/lc_appendable.c
@@ -11,7 +11,7 @@
/* Default appendable implementations */
int lc_appendable_snwadd(lc_appendable_t *app, const char *str, size_t len,
- unsigned int width, int left_just, char pad)
+ unsigned int width, int left_just, char pad)
{
int res = 0;
size_t i;
@@ -33,7 +33,7 @@ int lc_appendable_snwadd(lc_appendable_t *app, const char *str, size_t len,
void lc_appendable_init(lc_appendable_t *env, const lc_appendable_funcs_t *app,
- void *obj, size_t limit)
+ void *obj, size_t limit)
{
env->obj = obj;
env->limit = limit;
diff --git a/ir/libcore/lc_opts.c b/ir/libcore/lc_opts.c
index 2e90304..4d4bbbe 100644
--- a/ir/libcore/lc_opts.c
+++ b/ir/libcore/lc_opts.c
@@ -60,11 +60,11 @@ static lc_opt_entry_t *init_grp(lc_opt_entry_t *ent)
}
static lc_opt_entry_t *init_opt(lc_opt_entry_t *ent,
- lc_opt_type_t type,
- void *val, size_t length,
- lc_opt_callback_t *cb,
- lc_opt_dump_t *dump,
- lc_opt_dump_vals_t *dump_vals)
+ lc_opt_type_t type,
+ void *val, size_t length,
+ lc_opt_callback_t *cb,
+ lc_opt_dump_t *dump,
+ lc_opt_dump_vals_t *dump_vals)
{
lc_opt_special_t *s = lc_get_opt_special(ent);
@@ -140,10 +140,10 @@ lc_opt_entry_t *lc_opt_get_grp(lc_opt_entry_t *parent, const char *name)
}
lc_opt_entry_t *lc_opt_add_opt(lc_opt_entry_t *parent,
- const char *name, const char *desc,
- lc_opt_type_t type, void *value, size_t length,
- lc_opt_callback_t *cb, lc_opt_dump_t *dump,
- lc_opt_dump_vals_t *dump_vals)
+ const char *name, const char *desc,
+ lc_opt_type_t type, void *value, size_t length,
+ lc_opt_callback_t *cb, lc_opt_dump_t *dump,
+ lc_opt_dump_vals_t *dump_vals)
{
if (!parent->is_grp)
return NULL;
diff --git a/ir/libcore/lc_printf.c b/ir/libcore/lc_printf.c
index 31b025e..a2db3c2 100644
--- a/ir/libcore/lc_printf.c
+++ b/ir/libcore/lc_printf.c
@@ -105,7 +105,7 @@ int lc_arg_append(lc_appendable_t *app, const lc_arg_occ_t *occ, const char *str
static int dispatch_snprintf(char *buf, size_t len, const char *fmt,
- int lc_arg_type, const lc_arg_value_t *val)
+ int lc_arg_type, const lc_arg_value_t *val)
{
int res = 0;