aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-09-26 10:40:27 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-09-26 10:40:27 -0400
commit0c947b9f153824d092437c8f06aee28602814d00 (patch)
treed1a0bef67d0108d67e4a5c8eb13819fb60385fbd
parent8a78cb8bc0ac16a0cc8130638873b0eac7b8a165 (diff)
downloadtextadept-0c947b9f153824d092437c8f06aee28602814d00.tar.gz
textadept-0c947b9f153824d092437c8f06aee28602814d00.zip
Changed warn to be static to fix compile errors; src/textadept.h
-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();