diff --git a/tools/check_seapp.c b/tools/check_seapp.c
index d5853aedee7da1dd4f83f1822f9e125273b96d86..92cacdbfc13e77e277d4e227d3161cc24a695b40 100644
--- a/tools/check_seapp.c
+++ b/tools/check_seapp.c
@@ -306,7 +306,7 @@ log_msg(FILE *out, const char *prefix, const char *fmt, ...) {
  * 	statically to this executable and LINK_SEPOL_STATIC is not
  * 	defined.
  */
-int check_type(sepol_policydb_t *db, char *type) {
+static int check_type(sepol_policydb_t *db, char *type) {
 
 	int rc = 1;
 #if defined(LINK_SEPOL_STATIC)