From 9260fb12509affae190485744fa06c97cbc543bb Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 5 Apr 2022 13:29:09 +0900 Subject: build: Remove unused putc_unlocked.c. * src/putc_unlocked.c: Remove. * configure.ac: Remove putc_unlocked replace. -- Signed-off-by: NIIBE Yutaka --- configure.ac | 1 - src/putc_unlocked.c | 31 ------------------------------- 2 files changed, 32 deletions(-) delete mode 100644 src/putc_unlocked.c diff --git a/configure.ac b/configure.ac index 3257c9c..29c66dd 100644 --- a/configure.ac +++ b/configure.ac @@ -419,7 +419,6 @@ fi AC_REPLACE_FUNCS(isascii) -AC_REPLACE_FUNCS(putc_unlocked) AC_REPLACE_FUNCS(memrchr) AC_REPLACE_FUNCS(stpcpy) AC_CHECK_HEADERS(unistd.h) diff --git a/src/putc_unlocked.c b/src/putc_unlocked.c deleted file mode 100644 index 6adcaec..0000000 --- a/src/putc_unlocked.c +++ /dev/null @@ -1,31 +0,0 @@ -/* putc_unlocked.c - Replacement for putc_unlocked. - * Copyright (C) 2002, 2005 Free Software Foundation, Inc. - * - * This file is part of Assuan. - * - * Assuan is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * Assuan 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, see . - * SPDX-License-Identifier: LGPL-2.1+ - */ - -#ifdef HAVE_CONFIG_H -#include -#endif - -#include - -int -putc_unlocked (int c, FILE *stream) -{ - return putc (c, stream); -} -- cgit v1.2.3