Commit d0e275eb authored by Kevin Wolf's avatar Kevin Wolf

libc: Doppelte Definition von FILE vermeiden

! libc: Wiederholte typedefs sind vor C11 ungültig und können
  Compilerfehler in lbuilds verursachen, also lieber vermeiden
Signed-off-by: Kevin Wolf's avatarKevin Wolf <kevin@tyndur.org>
parent 8d6b7e31
......@@ -82,7 +82,10 @@ typedef struct vfstree_node_t
///Handle fuer eine geoeffnete Datei
#ifndef __FILE_DEFINED
#define __FILE_DEFINED
typedef struct lostio_internal_file FILE;
#endif
typedef struct
{
......
......@@ -49,7 +49,10 @@
#define P_tmpdir "file:/tmp"
#ifndef __FILE_DEFINED
#define __FILE_DEFINED
typedef struct lostio_internal_file FILE;
#endif
extern FILE* stdin;
extern FILE* stdout;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment