summaryrefslogtreecommitdiff
path: root/ref-filter.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-07-13 15:02:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-07-13 19:42:51 (GMT)
commitaa8a5d144da4e4ec43580831ff4a741538d21db4 (patch)
treef80ac675f685cc75362a934212ac904b96bf870c /ref-filter.h
parent18a2565016d45538345a06cd9b912040b5581fc1 (diff)
downloadgit-aa8a5d144da4e4ec43580831ff4a741538d21db4.zip
git-aa8a5d144da4e4ec43580831ff4a741538d21db4.tar.gz
git-aa8a5d144da4e4ec43580831ff4a741538d21db4.tar.bz2
ref-filter: make parse_ref_filter_atom a private function
The parse_ref_filter_atom() function really shouldn't be exposed outside of ref-filter.c; its return value is an integer index into an array that is private in that file. Since the previous commit removed the sole external caller (and replaced it with a public function at a more appropriately level), we can just make this static. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.h')
-rw-r--r--ref-filter.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ref-filter.h b/ref-filter.h
index 67fa626..1ffc3ca 100644
--- a/ref-filter.h
+++ b/ref-filter.h
@@ -104,8 +104,6 @@ struct ref_format {
int filter_refs(struct ref_array *array, struct ref_filter *filter, unsigned int type);
/* Clear all memory allocated to ref_array */
void ref_array_clear(struct ref_array *array);
-/* Parse format string and sort specifiers */
-int parse_ref_filter_atom(const char *atom, const char *ep);
/* Used to verify if the given format is correct and to parse out the used atoms */
int verify_ref_format(struct ref_format *format);
/* Sort the given ref_array as per the ref_sorting provided */