git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/7] test-hashmap: minor style fix

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Jan 23, 2015, 11:08 UTC
Message-ID
<1422011288-4062-1-git-send-email-kuleshovmail@gmail.com>
In-Reply-To
<1422011208-3832-1-git-send-email-kuleshovmail@gmail.com>
Asterisk must be next with variable
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 test-hashmap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test-hashmap.c b/test-hashmap.c
index cc2891d..5f67120 100644
--- a/test-hashmap.c
+++ b/test-hashmap.c
@@ -14,13 +14,13 @@ static const char *get_value(const struct test_entry *e)
 }

 static int test_entry_cmp(const struct test_entry *e1,
-		const struct test_entry *e2, const char* key)
+		const struct test_entry *e2, const char *key)
 {
 	return strcmp(e1->key, key ? key : e2->key);
 }

 static int test_entry_cmp_icase(const struct test_entry *e1,
-		const struct test_entry *e2, const char* key)
+		const struct test_entry *e2, const char *key)
 {
 	return strcasecmp(e1->key, key ? key : e2->key);
 }
--
2.3.0.rc1.275.g028c360
Previous: Alexander KuleshovNext: Alexander Kuleshov
Message 4 of 11 in “Coding style fixes.”
  1. 0/7 Coding style fixes.Alexander Kuleshov, Jan 23, 2015
  2. 1/7 show-branch: minor style fixAlexander Kuleshov, Jan 23, 2015
  3. 2/7 clone: minor style fixAlexander Kuleshov, Jan 23, 2015
  4. 3/7 test-hashmap: minor style fixAlexander Kuleshov, Jan 23, 2015
  5. 4/7 http-backend: minor style fixAlexander Kuleshov, Jan 23, 2015
  6. 5/7 refs: minor style fixAlexander Kuleshov, Jan 23, 2015
  7. 6/7 quote: minor style fixAlexander Kuleshov, Jan 23, 2015
  8. 7/7 fast-import: minor style fixAlexander Kuleshov, Jan 23, 2015
  9. Torsten BögershausenJan 23, 2015
  10. Alexander KuleshovJan 23, 2015
  11. Stefan BellerJan 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.