Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-08-01 17:24:34 +0200
committerDan McGee <dan@archlinux.org>2012-08-07 20:32:30 -0500
commit8853a6f2827739120057d4eda56a12bd3474e4c6 (patch)
tree206951ff7959fc47c57443ca49fb5cc6526b77a1
parentec5e6d90294f3322b7015b422db948770ecb41b6 (diff)
coding style fixes
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--lib/libalpm/db.c2
-rw-r--r--lib/libalpm/util.c4
-rw-r--r--src/pacman/pacman.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index bf9c3f0a..953f2af6 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -281,7 +281,7 @@ alpm_list_t SYMEXPORT *alpm_db_get_groupcache(alpm_db_t *db)
}
/** Searches a database. */
-alpm_list_t SYMEXPORT *alpm_db_search(alpm_db_t *db, const alpm_list_t* needles)
+alpm_list_t SYMEXPORT *alpm_db_search(alpm_db_t *db, const alpm_list_t *needles)
{
ASSERT(db != NULL, return NULL);
db->handle->pm_errno = 0;
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 0196f3bb..033058a0 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -65,9 +65,9 @@
* @return pointer to the first token in str if str is not NULL, NULL if
* str is NULL
*/
-char* strsep(char** str, const char* delims)
+char *strsep(char **str, const char *delims)
{
- char* token;
+ char *token;
if(*str==NULL) {
/* No more tokens */
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 73d5be94..478196e2 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -719,7 +719,7 @@ static int parseargs(int argc, char *argv[])
* @param argc
* @param argv
*/
-static void cl_to_log(int argc, char* argv[])
+static void cl_to_log(int argc, char *argv[])
{
size_t size = 0;
int i;