X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fseek.c;h=3a65d6eae3a90e75af71a736b6f2209ef2492e37;hb=2b793d7f6e3a8e37229e761ef4c92961bd0f686a;hp=755abe2cb1eb9393a943356007f9071a69b9f2de;hpb=babe116007c414671ede1a315f16f7936fa3bb0b;p=pdclib diff --git a/platform/example/functions/_PDCLIB/seek.c b/platform/example/functions/_PDCLIB/seek.c index 755abe2..3a65d6e 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 +#ifndef REGTEST + #include <_PDCLIB_glue.h> -#endif #include "/usr/include/errno.h" @@ -60,6 +57,8 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of return EOF; } +#endif + #ifdef TEST #include <_PDCLIB_test.h>