mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Rename struct DIR to struct __DIR.
This commit is contained in:
parent
b8c91e36f4
commit
7098286b34
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue