From aa2c7727b1ee7b3747681f6b78f9ef0d36beb749 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 2 Feb 2019 13:12:59 -0500 Subject: trim old nonstd --- nonstd/static/fopen.h | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 nonstd/static/fopen.h (limited to 'nonstd/static/fopen.h') diff --git a/nonstd/static/fopen.h b/nonstd/static/fopen.h deleted file mode 100644 index 64d30f1e..00000000 --- a/nonstd/static/fopen.h +++ /dev/null @@ -1,12 +0,0 @@ -#include "nonstd/FILE.h" - -static FILE *__common_fopen(struct __fopen_options *opt) -{ - FILE *f = NULL; - if (__libc.stdio.nopen < FOPEN_MAX) { - f = __libc.stdio.files + __libc.stdio.nopen; - __libc.stdio.nopen++; - } - f->fd = opt->fd; - return f; -} -- cgit v1.2.1