noinst_LTLIBRARIES = libsfiof_C.la
-libsfiof_C_la_SOURCES = _sfeof.c _sferror.c \
+libsfiof_C_la_SOURCES = _sferror.c \
_sffileno.c _sfgetc.c _sfllen.c _sfputc.c _sfputd.c \
_sfputl.c _sfputm.c _sfputu.c _sfslen.c _sfstacked.c \
_sfulen.c _sfvalue.c
+++ /dev/null
-/* $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 <sfio/sfhdr.h>
-
-#undef sfeof
-
-int sfeof(Sfio_t * f)
-{
- return __sf_eof(f);
-}
/* miscellaneous function analogues of fast in-line functions */
extern Sfoff_t sfsize(Sfio_t *);
- extern int sfeof(Sfio_t *);
extern int sferror(Sfio_t *);
extern int sffileno(Sfio_t *);
extern int sfstacked(Sfio_t *);
#define __sf_ulen(v) ((Sfulong_t)(v) < SF_U1 ? 1 : (Sfulong_t)(v) < SF_U2 ? 2 : \
(Sfulong_t)(v) < SF_U3 ? 3 : (Sfulong_t)(v) < SF_U4 ? 4 : 5)
#define __sf_fileno(f) ((f) ? _SF_(f)->file : -1)
-#define __sf_eof(f) ((f) ? (_SF_(f)->flags&SF_EOF) : 0)
#define __sf_error(f) ((f) ? (_SF_(f)->flags&SF_ERROR) : 0)
#define __sf_stacked(f) ((f) ? (_SF_(f)->push != (Sfio_t*)0) : 0)
#define __sf_value(f) ((f) ? (_SF_(f)->val) : 0)
#define sfllen(v) ( __sf_llen(v) )
#define sfulen(v) ( __sf_ulen(v) )
#define sffileno(f) ( __sf_fileno(f) )
-#define sfeof(f) ( __sf_eof(f) )
#define sferror(f) ( __sf_error(f) )
#define sfstacked(f) ( __sf_stacked(f) )
#define sfvalue(f) ( __sf_value(f) )
<ClCompile Include="sfgetm.c" />
<ClCompile Include="sfgetr.c" />
<ClCompile Include="sfgetu.c" />
- <ClCompile Include="sfio_f\_sfeof.c" />
<ClCompile Include="sfio_f\_sferror.c" />
<ClCompile Include="sfio_f\_sffileno.c" />
<ClCompile Include="sfio_f\_sfgetc.c" />
</ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="sfio_f\_sfeof.c">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="sfio_f\_sferror.c">
<Filter>Source Files</Filter>
</ClCompile>