author | Lars Hjemli <hjemli@gmail.com> | 2007-05-18 20:50:11 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-18 20:50:45 (UTC) |
commit | 08cc2e5f0e24773dad81d38bd6b689e36afe9dda (patch) (unidiff) | |
tree | c6b46acc0669fe3d1d7b914b3858615b292734ac /cgit.h | |
parent | e189344a7dfe6fa1b07434d5170e6441dcbaf788 (diff) | |
download | cgit-08cc2e5f0e24773dad81d38bd6b689e36afe9dda.zip cgit-08cc2e5f0e24773dad81d38bd6b689e36afe9dda.tar.gz cgit-08cc2e5f0e24773dad81d38bd6b689e36afe9dda.tar.bz2 |
Remove unused extern declarations from cgit.h
Some unused declarations from the early days of cgit are removed.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -67,68 +67,64 @@ struct taginfo { | |||
67 | char *msg; | 67 | char *msg; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | extern const char cgit_version[]; | 70 | extern const char cgit_version[]; |
71 | 71 | ||
72 | extern struct repolist cgit_repolist; | 72 | extern struct repolist cgit_repolist; |
73 | extern struct repoinfo *cgit_repo; | 73 | extern struct repoinfo *cgit_repo; |
74 | 74 | ||
75 | extern char *cgit_root_title; | 75 | extern char *cgit_root_title; |
76 | extern char *cgit_css; | 76 | extern char *cgit_css; |
77 | extern char *cgit_logo; | 77 | extern char *cgit_logo; |
78 | extern char *cgit_logo_link; | 78 | extern char *cgit_logo_link; |
79 | extern char *cgit_module_link; | 79 | extern char *cgit_module_link; |
80 | extern char *cgit_virtual_root; | 80 | extern char *cgit_virtual_root; |
81 | extern char *cgit_script_name; | 81 | extern char *cgit_script_name; |
82 | extern char *cgit_cache_root; | 82 | extern char *cgit_cache_root; |
83 | 83 | ||
84 | extern int cgit_nocache; | 84 | extern int cgit_nocache; |
85 | extern int cgit_snapshots; | 85 | extern int cgit_snapshots; |
86 | extern int cgit_enable_log_filecount; | 86 | extern int cgit_enable_log_filecount; |
87 | extern int cgit_enable_log_linecount; | 87 | extern int cgit_enable_log_linecount; |
88 | extern int cgit_max_lock_attempts; | 88 | extern int cgit_max_lock_attempts; |
89 | extern int cgit_cache_root_ttl; | 89 | extern int cgit_cache_root_ttl; |
90 | extern int cgit_cache_repo_ttl; | 90 | extern int cgit_cache_repo_ttl; |
91 | extern int cgit_cache_dynamic_ttl; | 91 | extern int cgit_cache_dynamic_ttl; |
92 | extern int cgit_cache_static_ttl; | 92 | extern int cgit_cache_static_ttl; |
93 | extern int cgit_cache_max_create_time; | 93 | extern int cgit_cache_max_create_time; |
94 | 94 | ||
95 | extern int cgit_max_msg_len; | 95 | extern int cgit_max_msg_len; |
96 | extern int cgit_max_repodesc_len; | 96 | extern int cgit_max_repodesc_len; |
97 | extern int cgit_max_commit_count; | 97 | extern int cgit_max_commit_count; |
98 | 98 | ||
99 | extern char *cgit_repo_name; | ||
100 | extern char *cgit_repo_desc; | ||
101 | extern char *cgit_repo_owner; | ||
102 | |||
103 | extern int cgit_query_has_symref; | 99 | extern int cgit_query_has_symref; |
104 | extern int cgit_query_has_sha1; | 100 | extern int cgit_query_has_sha1; |
105 | 101 | ||
106 | extern char *cgit_querystring; | 102 | extern char *cgit_querystring; |
107 | extern char *cgit_query_repo; | 103 | extern char *cgit_query_repo; |
108 | extern char *cgit_query_page; | 104 | extern char *cgit_query_page; |
109 | extern char *cgit_query_search; | 105 | extern char *cgit_query_search; |
110 | extern char *cgit_query_head; | 106 | extern char *cgit_query_head; |
111 | extern char *cgit_query_sha1; | 107 | extern char *cgit_query_sha1; |
112 | extern char *cgit_query_sha2; | 108 | extern char *cgit_query_sha2; |
113 | extern char *cgit_query_path; | 109 | extern char *cgit_query_path; |
114 | extern char *cgit_query_name; | 110 | extern char *cgit_query_name; |
115 | extern int cgit_query_ofs; | 111 | extern int cgit_query_ofs; |
116 | 112 | ||
117 | extern int htmlfd; | 113 | extern int htmlfd; |
118 | 114 | ||
119 | extern void cgit_global_config_cb(const char *name, const char *value); | 115 | extern void cgit_global_config_cb(const char *name, const char *value); |
120 | extern void cgit_repo_config_cb(const char *name, const char *value); | 116 | extern void cgit_repo_config_cb(const char *name, const char *value); |
121 | extern void cgit_querystring_cb(const char *name, const char *value); | 117 | extern void cgit_querystring_cb(const char *name, const char *value); |
122 | 118 | ||
123 | extern int chk_zero(int result, char *msg); | 119 | extern int chk_zero(int result, char *msg); |
124 | extern int chk_positive(int result, char *msg); | 120 | extern int chk_positive(int result, char *msg); |
125 | 121 | ||
126 | extern int hextoint(char c); | 122 | extern int hextoint(char c); |
127 | 123 | ||
128 | extern void *cgit_free_commitinfo(struct commitinfo *info); | 124 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
129 | 125 | ||
130 | extern int cgit_diff_files(const unsigned char *old_sha1, | 126 | extern int cgit_diff_files(const unsigned char *old_sha1, |
131 | const unsigned char *new_sha1, | 127 | const unsigned char *new_sha1, |
132 | linediff_fn fn); | 128 | linediff_fn fn); |
133 | 129 | ||
134 | extern void cgit_diff_tree(const unsigned char *old_sha1, | 130 | extern void cgit_diff_tree(const unsigned char *old_sha1, |