diff --git a/build-aux/configure-lib.sh b/build-aux/configure-lib.sh index 1dfe84fd..1dd7f0e5 100644 --- a/build-aux/configure-lib.sh +++ b/build-aux/configure-lib.sh @@ -263,6 +263,7 @@ lib/stub/ctime.c lib/stub/fpurge.c lib/stub/freadahead.c lib/stub/frexp.c +lib/stub/fscanf.c lib/stub/getlogin.c lib/stub/getpwnam.c lib/stub/getpwuid.c @@ -270,6 +271,7 @@ lib/stub/gmtime.c lib/stub/pclose.c lib/stub/popen.c lib/stub/rand.c +lib/stub/rewind.c lib/stub/setbuf.c lib/stub/setlocale.c lib/stub/setvbuf.c diff --git a/lib/stdio/freeopen.c b/lib/stdio/freeopen.c deleted file mode 100644 index f9447a09..00000000 --- a/lib/stdio/freeopen.c +++ /dev/null @@ -1,28 +0,0 @@ -/* -*-comment-start: "//";comment-end:""-*- - * GNU Mes --- Maxwell Equations of Software - * Copyright © 2018 Jan (janneke) Nieuwenhuizen - * - * This file is part of GNU Mes. - * - * GNU Mes is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or (at - * your option) any later version. - * - * GNU Mes is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with GNU Mes. If not, see . - */ - -#include - -FILE * -freopen (char const *file_name, char const *opentype, FILE * stream) -{ - fclose (stream); - return fopen (file_name, opentype); -}