summaryrefslogtreecommitdiff
path: root/column.h
diff options
context:
space:
mode:
Diffstat (limited to 'column.h')
-rw-r--r--column.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/column.h b/column.h
index 0a61917fa7..448c7440b3 100644
--- a/column.h
+++ b/column.h
@@ -27,19 +27,20 @@ struct column_options {
};
struct option;
-extern int parseopt_column_callback(const struct option *, const char *, int);
-extern int git_column_config(const char *var, const char *value,
- const char *command, unsigned int *colopts);
-extern int finalize_colopts(unsigned int *colopts, int stdout_is_tty);
+int parseopt_column_callback(const struct option *, const char *, int);
+int git_column_config(const char *var, const char *value,
+ const char *command, unsigned int *colopts);
+int finalize_colopts(unsigned int *colopts, int stdout_is_tty);
static inline int column_active(unsigned int colopts)
{
return (colopts & COL_ENABLE_MASK) == COL_ENABLED;
}
-extern void print_columns(const struct string_list *list, unsigned int colopts,
- const struct column_options *opts);
+struct string_list;
+void print_columns(const struct string_list *list, unsigned int colopts,
+ const struct column_options *opts);
-extern int run_column_filter(int colopts, const struct column_options *);
-extern int stop_column_filter(void);
+int run_column_filter(int colopts, const struct column_options *);
+int stop_column_filter(void);
#endif