From 000a7c045c98c30aac86db93f8c9c978e5ca8c59 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 14:25:31 -0500 Subject: update standards and safety checks --- src/stdio/fopen_s.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/stdio/fopen_s.c') diff --git a/src/stdio/fopen_s.c b/src/stdio/fopen_s.c index 708a1fc2..411f6bbf 100644 --- a/src/stdio/fopen_s.c +++ b/src/stdio/fopen_s.c @@ -1,18 +1,15 @@ -#if 0 - #include -#include "__stdio.h" +#include "_stdio.h" #include #include -#include -#include /** open a file stream **/ errno_t fopen_s(FILE * restrict * restrict streamptr, const char * restrict filename, - const char * restrict mode); + const char * restrict mode) { - __C_EXT(1, 201112L); + SIGNAL_SAFE(0); + (void)streamptr; (void)filename; (void)mode; return 0; } @@ -55,6 +52,3 @@ The error and end-of-file indicators are cleared. /* CEXT1(201112) */ - - -#endif -- cgit v1.2.1