aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textadept.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.h b/src/textadept.h
index 6e8cb126..f482268f 100644
--- a/src/textadept.h
+++ b/src/textadept.h
@@ -27,7 +27,7 @@ extern GtkTreeStore *pm_store;
extern lua_State *lua;
static const char *textadept_home = "/usr/share/textadept/";
-void warn(const char *s) { printf("Warning: %s\n", s); }
+static void warn(const char *s) { printf("Warning: %s\n", s); }
// textadept.c
void create_ui();