about summary refs log tree commit diff stats
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/unix.c b/unix.c
index a11344b..e7a883e 100644
--- a/unix.c
+++ b/unix.c
@@ -16,5 +16,10 @@
 
 #include <xombrero.h>
 
-/* put this here for now, move away if unix needs something special */
-void	(*os_init)(void);
+void
+init_unix(void)
+{
+	resource_dir = g_strdup("/usr/local/share/xombrero/");
+}
+
+void	(*os_init)(void) = init_unix;