diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-04-10 15:44:11 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-04-10 15:44:11 +0300 |
commit | e8d2f40f41b09ec5e4b4eebe6441927e8d1dc434 (patch) | |
tree | b86c821076391e231199fb3fd8a728cb7a206c26 /src | |
parent | 338eda09d88d83d408c0bba1448b1c9eabad2d02 (diff) | |
download | emacs-e8d2f40f41b09ec5e4b4eebe6441927e8d1dc434.tar.gz |
Clean up the MSDOS port
* src/msdos.h (tcdrain): Redirect to '_dos_commit'.
(openat, fchmodat, futimens, utimensat): Add prototypes.
* msdos/sed1v2.inp (MAKE_PDUMPER_FINGERPRINT): Fix indentation, so
that Make won't consider this line a command.
($(etc)/DOC): Chdir back to ../src, since "make-docfile -d" leaves
us in a wrong directory.
* msdos/sedlibmk.inp (GL_GNULIB_GETRANDOM, GL_GNULIB_MEMMEM)
(GL_GNULIB_SIGDESCR_NP): Define to 1, to get the prototypes from
Gnulib headers.
Diffstat (limited to 'src')
-rw-r--r-- | src/msdos.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/msdos.h b/src/msdos.h index 7e57c7c1102..24697bcf24b 100644 --- a/src/msdos.h +++ b/src/msdos.h @@ -22,6 +22,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include <dpmi.h> #include "termhooks.h" /* struct terminal */ +struct terminal; + +extern unsigned int _dos_commit(int); +#define tcdrain(f) _dos_commit(f) int dos_ttraw (struct tty_display_info *); int dos_ttcooked (void); @@ -57,6 +61,11 @@ ssize_t readlinkat (int, const char *, char *, size_t); int fstatat (int, char const *, struct stat *, int); int unsetenv (const char *); int faccessat (int, const char *, int, int); +int openat (int, const char *, int, int); +int fchmodat (int, const char *, mode_t, int); +int futimens (int, const struct timespec[2]); +int utimensat (int, const char *, const struct timespec[2], int); + void msdos_fatal_signal (int); void syms_of_msdos (void); int pthread_sigmask (int, const sigset_t *, sigset_t *); |