Rename struct DIR to struct __DIR.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-05-10 23:40:54 +02:00
parent b8c91e36f4
commit 7098286b34
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013, 2014.
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013, 2014, 2015.
This file is part of the Sortix C Library.
@ -43,14 +43,14 @@ struct dirent;
#ifndef __DIR_defined
#define __DIR_defined
typedef struct DIR DIR;
typedef struct __DIR DIR;
#endif
#define _DIR_REGISTERED (1<<0)
#define _DIR_ERROR (1<<1)
#define _DIR_EOF (1<<2)
struct DIR
struct __DIR
{
void* user;
int (*read_func)(void* user, struct dirent* dirent, size_t* size);

View File

@ -1,6 +1,6 @@
/*******************************************************************************
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013, 2014.
Copyright(C) Jonas 'Sortie' Termansen 2011, 2012, 2013, 2014, 2015.
This file is part of the Sortix C Library.
@ -55,7 +55,7 @@ typedef __ino_t ino_t;
#ifndef __DIR_defined
#define __DIR_defined
typedef struct DIR DIR;
typedef struct __DIR DIR;
#endif
#if __USE_SORTIX