[PATCH v3 01/10] config: Codestyle cleanups.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Felipe Contreras
Date: Tuesday, February 17, 2009 - 6:52 am

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 builtin-config.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/builtin-config.c b/builtin-config.c
index 6937eaf..afc4393 100644
--- a/builtin-config.c
+++ b/builtin-config.c
@@ -27,7 +27,7 @@ static int show_all_config(const char *key_, const char *value_, void *cb)
 	return 0;
 }
 
-static int show_config(const char* key_, const char* value_, void *cb)
+static int show_config(const char *key_, const char *value_, void *cb)
 {
 	char value[256];
 	const char *vptr = value;
@@ -74,7 +74,7 @@ static int show_config(const char* key_, const char* value_, void *cb)
 	return 0;
 }
 
-static int get_value(const char* key_, const char* regex_)
+static int get_value(const char *key_, const char *regex_)
 {
 	int ret = -1;
 	char *tl;
@@ -284,7 +284,7 @@ static int get_colorbool(int argc, const char **argv)
 int cmd_config(int argc, const char **argv, const char *prefix)
 {
 	int nongit;
-	char* value;
+	char *value;
 	const char *file = setup_git_directory_gently(&nongit);
 
 	config_exclusive_filename = getenv(CONFIG_ENVIRONMENT);
-- 
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 01/10] config: Codestyle cleanups., Felipe Contreras, (Tue Feb 17, 6:52 am)
[PATCH v3 02/10] config: Cleanup editor action., Felipe Contreras, (Tue Feb 17, 6:52 am)
[PATCH v3 03/10] config: Make git_config() more flexible., Felipe Contreras, (Tue Feb 17, 6:52 am)
[PATCH v3 05/10] config: Reorganize get_color*., Felipe Contreras, (Tue Feb 17, 6:52 am)
[PATCH v3 06/10] config: Use parseopt., Felipe Contreras, (Tue Feb 17, 6:52 am)
[PATCH v3 09/10] config: Disallow multiple variable types., Felipe Contreras, (Tue Feb 17, 6:52 am)
Re: [PATCH v3 01/10] config: Codestyle cleanups., Sverre Rabbelier, (Tue Feb 17, 9:33 am)
Re: [PATCH v3 01/10] config: Codestyle cleanups., Felipe Contreras, (Wed Feb 18, 2:18 am)
Re: [PATCH v3 03/10] config: Make git_config() more flexible, Felipe Contreras, (Wed Feb 18, 2:30 pm)