summaryrefslogtreecommitdiff
path: root/source/base/base_platform_linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/base_platform_linux.cpp')
-rw-r--r--source/base/base_platform_linux.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/base/base_platform_linux.cpp b/source/base/base_platform_linux.cpp
index c0bf879..61a4bea 100644
--- a/source/base/base_platform_linux.cpp
+++ b/source/base/base_platform_linux.cpp
@@ -17,9 +17,9 @@ internal String8 unix_get_env(const char *var) {
17 buffer = str8_chop_left(buffer, equal_sign_pos + 1); 17 buffer = str8_chop_left(buffer, equal_sign_pos + 1);
18 } 18 }
19 19
20 return buffer; 20 return buffer;
21} 21 }
22 ++index; 22 ++index;
23 } 23 }
24 24
25 AssertLog(buffer.size != 0, "env value not found\n"); 25 AssertLog(buffer.size != 0, "env value not found\n");
@@ -149,7 +149,6 @@ internal void unix_log_with_args(const char *format, ...)
149 va_end(arguments); 149 va_end(arguments);
150} 150}
151 151
152internal void unix_os_exit() { _exit(0); }
153 152
154// TODO: rewrite this 153// TODO: rewrite this
155internal String8List *unix_open_dir(MemArena *arena, String8 *path) 154internal String8List *unix_open_dir(MemArena *arena, String8 *path)