aboutsummaryrefslogtreecommitdiff
path: root/core/sync_linux.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-10-29 15:46:23 +0000
committergingerBill <bill@gingerbill.org>2017-10-29 15:46:23 +0000
commit1eb9994d88b874b2f4ac3fdc4d314b1e67fa511b (patch)
tree5dd176e7f4e8677ea935762e7044a4d6e3265520 /core/sync_linux.odin
parenta43b89f36e988df8268ee92ea54017806b3226bb (diff)
Attributes; @(link_name="foo")
Diffstat (limited to 'core/sync_linux.odin')
-rw-r--r--core/sync_linux.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sync_linux.odin b/core/sync_linux.odin
index 74f5cdc21..b77d51e0a 100644
--- a/core/sync_linux.odin
+++ b/core/sync_linux.odin
@@ -28,7 +28,7 @@ semaphore_post :: proc(s: ^Semaphore, count: int) {
// win32.ReleaseSemaphore(s._handle, cast(i32)count, nil);
}
-semaphore_release :: proc(s: ^Semaphore) #inline {
+semaphore_release :: inline proc(s: ^Semaphore) {
semaphore_post(s, 1);
}