coding style fixes
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
ec5e6d9029
commit
8853a6f282
3 changed files with 4 additions and 4 deletions
|
@ -281,7 +281,7 @@ alpm_list_t SYMEXPORT *alpm_db_get_groupcache(alpm_db_t *db)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Searches a database. */
|
/** 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);
|
ASSERT(db != NULL, return NULL);
|
||||||
db->handle->pm_errno = 0;
|
db->handle->pm_errno = 0;
|
||||||
|
|
|
@ -65,9 +65,9 @@
|
||||||
* @return pointer to the first token in str if str is not NULL, NULL if
|
* @return pointer to the first token in str if str is not NULL, NULL if
|
||||||
* str is NULL
|
* str is NULL
|
||||||
*/
|
*/
|
||||||
char* strsep(char** str, const char* delims)
|
char *strsep(char **str, const char *delims)
|
||||||
{
|
{
|
||||||
char* token;
|
char *token;
|
||||||
|
|
||||||
if(*str==NULL) {
|
if(*str==NULL) {
|
||||||
/* No more tokens */
|
/* No more tokens */
|
||||||
|
|
|
@ -719,7 +719,7 @@ static int parseargs(int argc, char *argv[])
|
||||||
* @param argc
|
* @param argc
|
||||||
* @param argv
|
* @param argv
|
||||||
*/
|
*/
|
||||||
static void cl_to_log(int argc, char* argv[])
|
static void cl_to_log(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
size_t size = 0;
|
size_t size = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Add table
Reference in a new issue