diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 | 
|---|---|---|
| committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 | 
| commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
| tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /fpm/fpm_pb.h | |
| parent | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (diff) | |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'fpm/fpm_pb.h')
| -rw-r--r-- | fpm/fpm_pb.h | 34 | 
1 files changed, 16 insertions, 18 deletions
diff --git a/fpm/fpm_pb.h b/fpm/fpm_pb.h index 2e5f3d0527..2e265511f2 100644 --- a/fpm/fpm_pb.h +++ b/fpm/fpm_pb.h @@ -38,25 +38,23 @@   * fpm__route_key__create   */  #define fpm_route_key_create fpm__route_key__create -static inline Fpm__RouteKey * -fpm__route_key__create (qpb_allocator_t *allocator, struct prefix *prefix) +static inline Fpm__RouteKey *fpm__route_key__create(qpb_allocator_t *allocator, +						    struct prefix *prefix)  { -  Fpm__RouteKey *key; - -  key = QPB_ALLOC (allocator, typeof (*key)); -  if (!key) -    { -      return NULL; -    } -  fpm__route_key__init (key); - -  key->prefix = qpb__l3_prefix__create (allocator, prefix); -  if (!key->prefix) -    { -      return NULL; -    } - -  return key; +	Fpm__RouteKey *key; + +	key = QPB_ALLOC(allocator, typeof(*key)); +	if (!key) { +		return NULL; +	} +	fpm__route_key__init(key); + +	key->prefix = qpb__l3_prefix__create(allocator, prefix); +	if (!key->prefix) { +		return NULL; +	} + +	return key;  }  #endif  | 
