Rename fs*.c -> os*.c
I planned to put just the file system routines into these files, but there are starting to be so many of them that I don't want to duplicate the same set for networking, subprocesses etc.
This commit is contained in:
		
							parent
							
								
									1e0a6350b5
								
							
						
					
					
						commit
						a6ecac95e1
					
				|  | @ -27,7 +27,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -26,7 +26,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -55,7 +55,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| #include <mach-o/dyld.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| #include <sys/sysctl.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| #include <sys/sysctl.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -1,6 +1,6 @@ | |||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -2,7 +2,7 @@ | |||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -1,6 +1,6 @@ | |||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -2,7 +2,7 @@ | |||
| 
 | ||||
| #include <sys/sysctl.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -10,7 +10,7 @@ | |||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -1,6 +1,6 @@ | |||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| char *get_exename(char *buf, size_t size) | ||||
| { | ||||
|  | @ -1,7 +1,7 @@ | |||
| #include <string.h> | ||||
| #include <unistd.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| void path_to_dirname(char *path) | ||||
| { | ||||
|  | @ -1,6 +1,6 @@ | |||
| #include <windows.h> | ||||
| 
 | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| 
 | ||||
| void path_to_dirname(char *path) | ||||
| { | ||||
|  | @ -28,7 +28,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ | |||
| #include "htable.h" | ||||
| #include "htableh_inc.h" | ||||
| #include "bitvector.h" | ||||
| #include "fs.h" | ||||
| #include "os.h" | ||||
| #include "random.h" | ||||
| #include "llt.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -11,8 +11,8 @@ o_files="$o_files env_unix.o" | |||
| o_files="$o_files equalhash.o" | ||||
| o_files="$o_files flisp.o" | ||||
| o_files="$o_files flmain.o" | ||||
| o_files="$o_files fs_$os.o" | ||||
| o_files="$o_files fs_unix.o" | ||||
| o_files="$o_files os_$os.o" | ||||
| o_files="$o_files os_unix.o" | ||||
| o_files="$o_files hashing.o" | ||||
| o_files="$o_files htable.o" | ||||
| o_files="$o_files int2str.o" | ||||
|  | @ -89,8 +89,8 @@ $CC $CFLAGS -c ../c/dump.c | |||
| $CC $CFLAGS -c ../c/env_unix.c | ||||
| $CC $CFLAGS -c ../c/equalhash.c | ||||
| $CC $CFLAGS -c ../c/flisp.c | ||||
| $CC $CFLAGS -c ../c/fs_"$os".c | ||||
| $CC $CFLAGS -c ../c/fs_unix.c | ||||
| $CC $CFLAGS -c ../c/os_"$os".c | ||||
| $CC $CFLAGS -c ../c/os_unix.c | ||||
| $CC $CFLAGS -c ../c/hashing.c | ||||
| $CC $CFLAGS -c ../c/htable.c | ||||
| $CC $CFLAGS -c ../c/int2str.c | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue