summaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/os.h b/src/os.h
index 83b5d32..6466e45 100644
--- a/src/os.h
+++ b/src/os.h
@@ -120,10 +120,7 @@ typedef char os_char;
#endif
/* Copies n characters from src to dest, using the OS-specific char type. */
-static inline void os_spancopy(os_char *restrict dest,
- const os_char *restrict src, int n) {
- memcpy(dest, src, n * sizeof(os_char));
-}
+void os_spancopy(os_char *restrict dest, const os_char *restrict src, int n);
/*
* Returns the last error code from an OS function - equivalent to calling