From 1f341ed08496bb214f930fc2b7fca7c5cd0ff9f8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 7 Sep 2014 00:31:46 +0100 Subject: Correctly declare function as static and fix documentation --- riscos/search.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'riscos/search.c') diff --git a/riscos/search.c b/riscos/search.c index bf070a965..e5e3d987d 100644 --- a/riscos/search.c +++ b/riscos/search.c @@ -259,7 +259,12 @@ bool ro_gui_search_prepare_menu(void) return true; } -bool ro_gui_search_bw_searchable(struct browser_window *bw) +/** + * Determine of the browser window is searchable. + * + * \param bw The browser window to check. + */ +static bool ro_gui_search_bw_searchable(struct browser_window *bw) { hlcache_handle *h; @@ -268,7 +273,7 @@ bool ro_gui_search_bw_searchable(struct browser_window *bw) h = browser_window_get_content(bw); /* only handle html/textplain contents */ - /* TODO: Should have content_is_searchable() api */ + /** \todo Should have content_is_searchable() api */ if ((!h) || (content_get_type(h) != CONTENT_HTML && content_get_type(h) != CONTENT_TEXTPLAIN)) return false; -- cgit v1.2.3