summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera <hugo@whynothugo.nl>2023-02-13 17:23:47 +0100
committerHugo Osvaldo Barrera <hugo@whynothugo.nl>2023-02-13 17:23:47 +0100
commit679ff2a20cc0c6dda11787320d537a5ae59ad290 (patch)
tree71f249732f37620623c6b95d731686dafae33824
parent02b4f28bd34f265c3c84970eb96d2d4de91daa5d (diff)
Fix some bad indentation
-rw-r--r--pam/pam_fprintd_autoptrs.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/pam/pam_fprintd_autoptrs.h b/pam/pam_fprintd_autoptrs.h
index 3a7fef6..c67c8be 100644
--- a/pam/pam_fprintd_autoptrs.h
+++ b/pam/pam_fprintd_autoptrs.h
@@ -29,15 +29,15 @@
#define _PF_AUTOPTR_TYPENAME(TypeName) TypeName ## _pf_autoptr
#define PF_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, cleanup) \
- typedef TypeName *_PF_AUTOPTR_TYPENAME (TypeName); \
- static __attribute__((__unused__)) inline void \
- _PF_AUTOPTR_FUNC_NAME (TypeName) (TypeName **_ptr) \
- { if (_ptr) (cleanup) (*_ptr); }
+ typedef TypeName *_PF_AUTOPTR_TYPENAME (TypeName); \
+ static __attribute__((__unused__)) inline void \
+ _PF_AUTOPTR_FUNC_NAME (TypeName) (TypeName **_ptr) \
+ { if (_ptr) (cleanup) (*_ptr); }
#define PF_DEFINE_AUTO_CLEAN_FUNC(TypeName, cleanup) \
- static __attribute__((__unused__)) inline void \
- _PF_AUTOPTR_FUNC_NAME (TypeName) (TypeName *_ptr) \
- { cleanup (_ptr); }
+ static __attribute__((__unused__)) inline void \
+ _PF_AUTOPTR_FUNC_NAME (TypeName) (TypeName *_ptr) \
+ { cleanup (_ptr); }
static inline void
autoptr_cleanup_generic_free (void *p)
@@ -49,10 +49,10 @@ autoptr_cleanup_generic_free (void *p)
#define pf_autofree _CLEANUP_FUNC (autoptr_cleanup_generic_free)
#define pf_autoptr(TypeName) \
- _CLEANUP_FUNC (_PF_AUTOPTR_FUNC_NAME (TypeName)) \
- _PF_AUTOPTR_TYPENAME (TypeName)
+ _CLEANUP_FUNC (_PF_AUTOPTR_FUNC_NAME (TypeName)) \
+ _PF_AUTOPTR_TYPENAME (TypeName)
#define pf_auto(TypeName) \
- _CLEANUP_FUNC (_PF_AUTOPTR_FUNC_NAME (TypeName)) TypeName
+ _CLEANUP_FUNC (_PF_AUTOPTR_FUNC_NAME (TypeName)) TypeName
PF_DEFINE_AUTOPTR_CLEANUP_FUNC (sd_bus, sd_bus_unref)
PF_DEFINE_AUTOPTR_CLEANUP_FUNC (sd_bus_message, sd_bus_message_unref)