]> granicus.if.org Git - graphviz/commitdiff
remove unused sffcvt.c
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Jun 2020 00:05:52 +0000 (17:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Jun 2020 19:28:53 +0000 (12:28 -0700)
lib/sfio/Makefile.am
lib/sfio/sffcvt.c [deleted file]
lib/sfio/sfio.vcxproj
lib/sfio/sfio.vcxproj.filters

index f0878cdf4c26d08c0dcbfb493dccc71fc4c8fb06..ed2fd3fd33933c93b8ea210bb8c3b2a82f1e1d92 100644 (file)
@@ -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 (file)
index 1e035a2..0000000
+++ /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);
-}
index 6e6d3afd23f0bb67b15e318171d646625cf66df6..3726ba64bf38a1f2b3f695cfbfd4f47d95f40511 100644 (file)
@@ -90,7 +90,6 @@
     <ClCompile Include="sfexcept.c" />
     <ClCompile Include="sfexit.c" />
     <ClCompile Include="sfextern.c" />
-    <ClCompile Include="sffcvt.c" />
     <ClCompile Include="sffilbuf.c" />
     <ClCompile Include="sfflsbuf.c" />
     <ClCompile Include="sfgetd.c" />
index 70e8c0488e05eb0b34b63fc0c73c96c4d386df7b..1582f4be693ad8856356d756eccc36078bb1b453 100644 (file)
     <ClCompile Include="sfextern.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="sffcvt.c">
-      <Filter>Source Files</Filter>
-    </ClCompile>
     <ClCompile Include="sffilbuf.c">
       <Filter>Source Files</Filter>
     </ClCompile>