aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorokan2013-04-30 21:11:07 +0000
committerokan2013-04-30 21:11:07 +0000
commit5bd12bbde2f2324d3d74b167a22959c37d00ebf5 (patch)
treeb44345dcf0e7ce33c26842c394d6a4fc82b1c6d8 /search.c
parent1bd549b8aba1bd1064e2e5bfbeefe36607b8b3c5 (diff)
downloadcwm-5bd12bbde2f2324d3d74b167a22959c37d00ebf5.tar.gz
missing proto
Diffstat (limited to '')
-rw-r--r--search.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/search.c b/search.c
index ec7c059..a7f448c 100644
--- a/search.c
+++ b/search.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: search.c,v 1.30 2013/04/05 17:36:02 okan Exp $
+ * $OpenBSD: search.c,v 1.31 2013/04/30 21:11:07 okan Exp $
*/
#include <sys/param.h>
@@ -38,6 +38,8 @@
static void search_match_path(struct menu_q *, struct menu_q *,
char *, int);
+static void search_match_path_exec(struct menu_q *, struct menu_q *,
+ char *);
static int strsubmatch(char *, char *, int);
/*
@@ -192,7 +194,7 @@ search_match_path(struct menu_q *menuq, struct menu_q *resultq, char *search, in
globfree(&g);
}
-void
+static void
search_match_path_exec(struct menu_q *menuq, struct menu_q *resultq, char *search)
{
return (search_match_path(menuq, resultq, search, PATH_EXEC));