mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 07:30:32 +02:00
* files.c (scm_sys_delete_file): Moved to filesys.c.
File is now empty; deleted. * files.h: Deleted. * filesys.c: scm_sys_delete_file is now here. Remove #if's; they seem to rely on remnants of an old portability regimen. If the problems come up again, solve them properly, using autoconf. Specifically: Don't test M_SYSV, and #define remove to be unlink if it's #defined; don't use remove just because HAVE_STDC_HEADERS is #defined. * filesys.h: Add declarations for scm_sys_delete_file. * Makefile.in (libobjs, inner_h_files, c_files, gen_c_files): Omit files.o, files.h, files.c, and files.x. * init.c: Don't #include "files.h", and don't call scm_init_files.
This commit is contained in:
parent
35440081d7
commit
2f3ed1ba2c
4 changed files with 21 additions and 11 deletions
|
@ -60,7 +60,6 @@
|
|||
#include "eval.h"
|
||||
#include "fdsocket.h"
|
||||
#include "feature.h"
|
||||
#include "files.h"
|
||||
#include "filesys.h"
|
||||
#include "fports.h"
|
||||
#include "gc.h"
|
||||
|
@ -367,7 +366,6 @@ scm_boot_guile (result, argc, argv, in, out, err, init_func, boot_cmd)
|
|||
scm_init_error ();
|
||||
scm_init_fdsocket ();
|
||||
scm_init_fports ();
|
||||
scm_init_files ();
|
||||
scm_init_filesys ();
|
||||
scm_init_gc ();
|
||||
scm_init_gdbint ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue