From: Matthew Fernandez Date: Sat, 6 Jun 2020 00:05:52 +0000 (-0700) Subject: remove unused sffcvt.c X-Git-Tag: 2.44.1~4^2~10^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e39da4d1861081b827a9b7809d412dad3548a0fe;p=graphviz remove unused sffcvt.c --- diff --git a/lib/sfio/Makefile.am b/lib/sfio/Makefile.am index f0878cdf4..ed2fd3fd3 100644 --- a/lib/sfio/Makefile.am +++ b/lib/sfio/Makefile.am @@ -9,7 +9,7 @@ noinst_HEADERS = sfhdr.h sfio.h sfio_t.h vthread.h noinst_LTLIBRARIES = libsfio_C.la libsfio_C_la_SOURCES = sfclose.c sfclrlock.c sfcvt.c sfdisc.c \ - sfdlen.c sfexcept.c sfexit.c sfextern.c sffcvt.c sffilbuf.c \ + sfdlen.c sfexcept.c sfexit.c sfextern.c sffilbuf.c \ sfflsbuf.c sfgetd.c sfgetl.c sfgetm.c sfgetr.c sfgetu.c \ sfllen.c sfmode.c sfmutex.c sfnew.c sfnotify.c \ sfnputc.c sfopen.c sfpkrd.c sfpoll.c sfpool.c sfpopen.c \ diff --git a/lib/sfio/sffcvt.c b/lib/sfio/sffcvt.c deleted file mode 100644 index 1e035a2bd..000000000 --- a/lib/sfio/sffcvt.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $Id$ $Revision$ */ -/* vim:set shiftwidth=4 ts=8: */ - -/************************************************************************* - * Copyright (c) 2011 AT&T Intellectual Property - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: See CVS logs. Details at http://www.graphviz.org/ - *************************************************************************/ - -#include "sfhdr.h" - -/** - * @param dval value to convert - * @param n_digit number of digits wanted - * @param decpt to return decimal point - * @param sign to return sign - */ -char *sffcvt(double dval, int n_digit, int *decpt, int *sign) -{ - return _sfcvt(&dval, n_digit, decpt, sign, 0); -} diff --git a/lib/sfio/sfio.vcxproj b/lib/sfio/sfio.vcxproj index 6e6d3afd2..3726ba64b 100644 --- a/lib/sfio/sfio.vcxproj +++ b/lib/sfio/sfio.vcxproj @@ -90,7 +90,6 @@ - diff --git a/lib/sfio/sfio.vcxproj.filters b/lib/sfio/sfio.vcxproj.filters index 70e8c0488..1582f4be6 100644 --- a/lib/sfio/sfio.vcxproj.filters +++ b/lib/sfio/sfio.vcxproj.filters @@ -101,9 +101,6 @@ Source Files - - Source Files - Source Files