mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 17:31:52 -05:00
Pointer coding style cleanups
'foo_type_t *variable' rather than 'foo_type_t* variable'. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
dbc58d9386
commit
e0afd81d18
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user