aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/fileio.c b/src/fileio.c
index d63828ba974..50c5a40e6b2 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3541,11 +3541,7 @@ Use the current time if TIME is nil. TIME is in the format of
3541 return Qt; 3541 return Qt;
3542} 3542}
3543 3543
3544#ifdef __NetBSD__ 3544#ifdef HAVE_SYNC
3545#define unix 42
3546#endif
3547
3548#ifdef unix
3549DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "", 3545DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "",
3550 doc: /* Tell Unix to finish all pending disk updates. */) 3546 doc: /* Tell Unix to finish all pending disk updates. */)
3551 () 3547 ()
@@ -3554,7 +3550,7 @@ DEFUN ("unix-sync", Funix_sync, Sunix_sync, 0, 0, "",
3554 return Qnil; 3550 return Qnil;
3555} 3551}
3556 3552
3557#endif /* unix */ 3553#endif /* HAVE_SYNC */
3558 3554
3559DEFUN ("file-newer-than-file-p", Ffile_newer_than_file_p, Sfile_newer_than_file_p, 2, 2, 0, 3555DEFUN ("file-newer-than-file-p", Ffile_newer_than_file_p, Sfile_newer_than_file_p, 2, 2, 0,
3560 doc: /* Return t if file FILE1 is newer than file FILE2. 3556 doc: /* Return t if file FILE1 is newer than file FILE2.
@@ -6793,7 +6789,7 @@ A non-nil value may result in data loss! */);
6793 defsubr (&Sread_file_name); 6789 defsubr (&Sread_file_name);
6794 defsubr (&Snext_read_file_uses_dialog_p); 6790 defsubr (&Snext_read_file_uses_dialog_p);
6795 6791
6796#ifdef unix 6792#ifdef HAVE_SYNC
6797 defsubr (&Sunix_sync); 6793 defsubr (&Sunix_sync);
6798#endif 6794#endif
6799} 6795}