*.[ch]: remove extern from function declarations using spatch
[gitweb.git] / trace.h
diff --git a/trace.h b/trace.h
index 171b256d261c771927541cf4d431b926b3ba102b..57faf3530af9784cd36e92c0b83ee89df62b6cde 100644 (file)
--- a/trace.h
+++ b/trace.h
@@ -17,12 +17,12 @@ extern struct trace_key trace_default_key;
 extern struct trace_key trace_perf_key;
 extern struct trace_key trace_setup_key;
 
-extern void trace_repo_setup(const char *prefix);
-extern int trace_want(struct trace_key *key);
-extern void trace_disable(struct trace_key *key);
-extern uint64_t getnanotime(void);
-extern void trace_command_performance(const char **argv);
-extern void trace_verbatim(struct trace_key *key, const void *buf, unsigned len);
+void trace_repo_setup(const char *prefix);
+int trace_want(struct trace_key *key);
+void trace_disable(struct trace_key *key);
+uint64_t getnanotime(void);
+void trace_command_performance(const char **argv);
+void trace_verbatim(struct trace_key *key, const void *buf, unsigned len);
 uint64_t trace_performance_enter(void);
 
 #ifndef HAVE_VARIADIC_MACROS
@@ -36,7 +36,7 @@ extern void trace_printf_key(struct trace_key *key, const char *format, ...);
 __attribute__((format (printf, 2, 3)))
 extern void trace_argv_printf(const char **argv, const char *format, ...);
 
-extern void trace_strbuf(struct trace_key *key, const struct strbuf *data);
+void trace_strbuf(struct trace_key *key, const struct strbuf *data);
 
 /* Prints elapsed time (in nanoseconds) if GIT_TRACE_PERFORMANCE is enabled. */
 __attribute__((format (printf, 2, 3)))
@@ -137,7 +137,7 @@ extern void trace_printf_key_fl(const char *file, int line, struct trace_key *ke
 __attribute__((format (printf, 4, 5)))
 extern void trace_argv_printf_fl(const char *file, int line, const char **argv,
                                 const char *format, ...);
-extern void trace_strbuf_fl(const char *file, int line, struct trace_key *key,
+void trace_strbuf_fl(const char *file, int line, struct trace_key *key,
                            const struct strbuf *data);
 __attribute__((format (printf, 4, 5)))
 extern void trace_performance_fl(const char *file, int line,