summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-04-05 13:29:09 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-04-05 13:29:09 +0900
commit9260fb12509affae190485744fa06c97cbc543bb (patch)
tree97e67bc5420e34230be0a4a955993039efb2a502
parent0fae5823f6e6a9592110ae50dabc6fb248eef998 (diff)
downloadlibassuan-9260fb12509affae190485744fa06c97cbc543bb.tar.gz
build: Remove unused putc_unlocked.c.
* src/putc_unlocked.c: Remove. * configure.ac: Remove putc_unlocked replace. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--configure.ac1
-rw-r--r--src/putc_unlocked.c31
2 files changed, 0 insertions, 32 deletions
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 <http://www.gnu.org/licenses/>.
- * SPDX-License-Identifier: LGPL-2.1+
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <stdio.h>
-
-int
-putc_unlocked (int c, FILE *stream)
-{
- return putc (c, stream);
-}