From e0afd81d18fdc646bbf6d37a1627c0267176e167 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 24 Apr 2012 21:05:51 -0500 Subject: Pointer coding style cleanups 'foo_type_t *variable' rather than 'foo_type_t* variable'. Signed-off-by: Dan McGee --- lib/libalpm/group.c | 2 +- lib/libalpm/package.c | 2 +- lib/libalpm/package.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c index 4f4d8ce0..7c3d64f7 100644 --- a/lib/libalpm/group.c +++ b/lib/libalpm/group.c @@ -30,7 +30,7 @@ alpm_group_t *_alpm_group_new(const char *name) { - alpm_group_t* grp; + alpm_group_t *grp; CALLOC(grp, 1, sizeof(alpm_group_t), return NULL); STRDUP(grp->name, name, free(grp); return NULL); diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index a1d75a75..46d14731 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -461,7 +461,7 @@ int _alpm_files_cmp(const void *f1, const void *f2) alpm_pkg_t *_alpm_pkg_new(void) { - alpm_pkg_t* pkg; + alpm_pkg_t *pkg; CALLOC(pkg, 1, sizeof(alpm_pkg_t), return NULL); diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index be779b46..c473549a 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -128,7 +128,7 @@ struct __alpm_pkg_t { alpm_file_t *_alpm_file_copy(alpm_file_t *dest, const alpm_file_t *src); int _alpm_files_cmp(const void *f1, const void *f2); -alpm_pkg_t* _alpm_pkg_new(void); +alpm_pkg_t *_alpm_pkg_new(void); int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr); void _alpm_pkg_free(alpm_pkg_t *pkg); void _alpm_pkg_free_trans(alpm_pkg_t *pkg); -- cgit v1.2.3-70-g09d2