diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-05-28 15:50:03 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-05-28 15:50:03 -0400 |
commit | c9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (patch) | |
tree | 6cf1abadd04a1a9049d82ffe0e78be7f8b4cece2 /src/stdio/fflush.c | |
parent | b4cd7036bea6c6440fbbcdaebe53c864c87a5646 (diff) |
abstract out "forced" implementations of functions from future specifications
Diffstat (limited to 'src/stdio/fflush.c')
-rw-r--r-- | src/stdio/fflush.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c index 6c1e78f5..2250aaaf 100644 --- a/src/stdio/fflush.c +++ b/src/stdio/fflush.c @@ -1,15 +1,6 @@ -#ifndef _POSIX_SOURCE -#define _POSIX_SOURCE -#define POSIX_FORCED -#endif - #include <stdio.h> #include "_stdio.h" - -#ifdef POSIX_FORCED -#include "_syscall.h" -#define write(_fd, _buf, _size) __scall3(write, _fd, _buf, _size) -#endif +#include "_forced/write.h" /** flush buffered writes **/ |