1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-28 19:29:53 +00:00

Removed unnecessary include files.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5674 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-06-03 14:32:15 +00:00
parent 3a8365c445
commit 55463bbf91
3 changed files with 7 additions and 7 deletions

View File

@ -10,6 +10,10 @@
#include <dirent.h>
/*****************************************************************************/
/* Data */
/*****************************************************************************/

View File

@ -4,7 +4,6 @@
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@ -13,7 +12,7 @@
DIR* __fastcall__ opendir (const char*)
{
{
unsigned char buf[32];
DIR* dir = 0;
DIR d;
@ -21,7 +20,7 @@ DIR* __fastcall__ opendir (const char*)
/* Setup file name and offset */
d.name[0] = '$';
d.name[1] = '\0';
d.off = 0;
d.off = sizeof (buf);
/* Open the directory on disk for reading */
d.fd = open (d.name, O_RDONLY);

View File

@ -4,9 +4,6 @@
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@ -36,7 +33,7 @@ struct dirent* __fastcall__ readdir (register DIR* dir)
goto exitpoint;
}
dir->off += 2;
/* Read the number of blocks */
if (!_dirread (dir, &entry.d_blocks, sizeof (entry.d_blocks))) {
goto exitpoint;