Mercurial > hg > xemacs-beta
diff src/sysdep.h @ 771:943eaba38521
[xemacs-hg @ 2002-03-13 08:51:24 by ben]
The big ben-mule-21-5 check-in!
Various files were added and deleted. See CHANGES-ben-mule.
There are still some test suite failures. No crashes, though.
Many of the failures have to do with problems in the test suite itself
rather than in the actual code. I'll be addressing these in the next
day or so -- none of the test suite failures are at all critical.
Meanwhile I'll be trying to address the biggest issues -- i.e. build
or run failures, which will almost certainly happen on various platforms.
All comments should be sent to ben@xemacs.org -- use a Cc: if necessary
when sending to mailing lists. There will be pre- and post- tags,
something like
pre-ben-mule-21-5-merge-in, and
post-ben-mule-21-5-merge-in.
author | ben |
---|---|
date | Wed, 13 Mar 2002 08:54:06 +0000 |
parents | fdefd0186b75 |
children | 2b676dc88c66 |
line wrap: on
line diff
--- a/src/sysdep.h Fri Mar 08 13:33:14 2002 +0000 +++ b/src/sysdep.h Wed Mar 13 08:54:06 2002 +0000 @@ -1,5 +1,6 @@ /* System-dependent prototypes Copyright (C) 1985, 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 2001 Ben Wing. This file is part of XEmacs. @@ -81,11 +82,6 @@ extern JMP_BUF break_system_call_jump; extern volatile int can_break_system_calls; -ssize_t sys_write_1 (int fildes, const void *buf, size_t nbyte, - int allow_quit); -ssize_t sys_read_1 (int fildes, void *buf, size_t nbyte, - int allow_quit); - /* Call these functions if you want to change some terminal parameter -- reset the console, change the parameter, and init it again. */ void init_one_console (struct console *c); @@ -136,44 +132,12 @@ char *start_of_text (void); /* Return the address of the start of the data segment prior to unexec. */ void *start_of_data (void); -/* Return the address of the end of the text segment prior to unexec. */ -char *end_of_text (void); -/* Return the address of the end of the data segment prior to unexec. */ -char *end_of_data (void); /* Get_system_name returns as its value a string for system-name to return. */ void init_system_name (void); -#ifndef HAVE_GETCWD -char *getcwd (char *pathname, size_t size); -#endif - -#ifndef HAVE_RENAME -int rename (const char *from, const char *to); -#endif - -#ifndef HAVE_DUP2 -int dup2 (int oldd, int newd); -#endif - -#ifndef HAVE_STRERROR -/* X11R6 defines strerror as a macro */ -# ifdef strerror -# undef strerror -# endif -const char *strerror (int); -#endif - -int interruptible_open (const char *path, int oflag, int mode); - -#ifndef HAVE_H_ERRNO -extern int h_errno; -#endif - -#ifdef HAVE_REALPATH -#define xrealpath realpath -#else -char *xrealpath(const char *path, char resolved_path []); +#ifdef WIN32_NATIVE +void *sbrk (unsigned long increment); #endif #endif /* INCLUDED_sysdep_h_ */