@@ -12,32 +12,14 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -#ifndef __STDC_LIMIT_MACROS -# define __STDC_LIMIT_MACROS -#endif -#ifndef __STDC_CONSTANT_MACROS -# define __STDC_CONSTANT_MACROS -#endif - -#include -#include - #import "OFSeekableStream.h" OF_ASSUME_NONNULL_BEGIN -#if defined(OF_WINDOWS) -typedef struct __stat64 of_stat_t; -#elif defined(OF_HAVE_OFF64_T) -typedef struct stat64 of_stat_t; -#else -typedef struct stat of_stat_t; -#endif - #if defined(OF_MORPHOS) && !defined(OF_IXEMUL) typedef long BPTR; #endif /*! @@ -147,15 +129,6 @@ */ - initWithHandle: (BPTR)handle; #endif @end -#ifdef __cplusplus -extern "C" { -#endif -extern int of_stat(OFString *path, of_stat_t *buffer); -extern int of_lstat(OFString *path, of_stat_t *buffer); -#ifdef __cplusplus -} -#endif - OF_ASSUME_NONNULL_END