Homogenize line endings and encoding

This commit is contained in:
2015-10-07 23:43:53 +02:00
parent 11b9447963
commit 630119c96c
11 changed files with 18 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
#include <stdio.h> #include <stdio.h>
unsigned long _crcTable[256]; unsigned long _crcTable[256];
int _crcTableInitialized = 0; int _crcTableInitialized = 0;

View File

@@ -1,4 +1,4 @@
#ifndef _CRC_ #ifndef _CRC_
#define _CRC_ #define _CRC_
#include <stdio.h> #include <stdio.h>

View File

@@ -1,4 +1,4 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -1,4 +1,4 @@
#ifndef _FILENODE_H_ #ifndef _FILENODE_H_
#define _FILENODE_H_ #define _FILENODE_H_
#define FileNode_Filename "nodesFile.fs" #define FileNode_Filename "nodesFile.fs"

View File

@@ -1,4 +1,4 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -1,4 +1,4 @@
#ifndef _FILENODECMP_H_ #ifndef _FILENODECMP_H_
#define _FILENODECMP_H_ #define _FILENODECMP_H_
#include "filenode.h" #include "filenode.h"

View File

@@ -1,13 +1,13 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <time.h> #include <time.h>
#ifdef WIN32 #ifdef WIN32
# include <direct.h> # include <direct.h>
# define _WIN32_WINNT 0x0501 # define _WIN32_WINNT 0x0501
# include <windows.h> # include <windows.h>
# include <io.h> # include <io.h>
# include <stdio.h> # include <stdio.h>
# include <signal.h> # include <signal.h>
# include <fcntl.h> # include <fcntl.h>
@@ -317,11 +317,11 @@ void File_Delete(char *path) {
#endif #endif
} }
void File_DeleteDirectory(char *path) { void File_DeleteDirectory(char *path) {
#ifndef WIN32 #ifndef WIN32
rmdir(path); rmdir(path);
#else #else
_rmdir(path); _rmdir(path);
#endif #endif
} }

View File

@@ -1,4 +1,4 @@
#ifndef _FILEUTIL_ #ifndef _FILEUTIL_
#define _FILEUTIL_ #define _FILEUTIL_
//////////////////////////////////////////////// ////////////////////////////////////////////////

View File

@@ -1,4 +1,4 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -1,4 +1,4 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -1,4 +1,4 @@
#ifndef _UTIL_ #ifndef _UTIL_
#define _UTIL_ #define _UTIL_
#include <stdlib.h> #include <stdlib.h>