X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fseek.c;h=cafcee8ddc2cfd64db234c335ca00e9754667321;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=b3e1830dca64f6de749c855c3d987ad7df7f3389;hpb=2af7521205cfba3d516f32a5a666d267dce5898d;p=pdclib diff --git a/platform/example/functions/_PDCLIB/seek.c b/platform/example/functions/_PDCLIB/seek.c index b3e1830..cafcee8 100644 --- a/platform/example/functions/_PDCLIB/seek.c +++ b/platform/example/functions/_PDCLIB/seek.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* int64_t _PDCLIB_seek( FILE *, int64_t, int ) This file is part of the Public Domain C Library (PDCLib). @@ -8,10 +6,9 @@ #include -#ifndef _PDCLIB_GLUE_H -#define _PDCLIB_GLUE_H -#include <_PDCLIB_glue.h> -#endif +#ifndef REGTEST + +#include "_PDCLIB_glue.h" #include "/usr/include/errno.h" @@ -60,14 +57,16 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of return EOF; } +#endif + #ifdef TEST -#include <_PDCLIB_test.h> -int main() +#include "_PDCLIB_test.h" + +int main( void ) { /* Testing covered by ftell.c */ return TEST_RESULTS; } #endif -