X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fseek.c;h=cafcee8ddc2cfd64db234c335ca00e9754667321;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=6944f787856c621308777f35ef6bc9262176307d;hpb=9f87d9e27e74d9e06e0c93114ffd70a45ee152fa;p=pdclib diff --git a/platform/example/functions/_PDCLIB/seek.c b/platform/example/functions/_PDCLIB/seek.c index 6944f78..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,7 +6,9 @@ #include -#include <_PDCLIB_glue.h> +#ifndef REGTEST + +#include "_PDCLIB_glue.h" #include "/usr/include/errno.h" @@ -57,8 +57,11 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of return EOF; } +#endif + #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" int main( void ) { @@ -67,4 +70,3 @@ int main( void ) } #endif -