Skip to content
Snippets Groups Projects
Commit 8be3ebd1 authored by rtoy's avatar rtoy
Browse files

o Don't wrap the body in an #ifndef/#endif because this file is

  intentionally included multiple times in undefineds.c and is
  expected to do something each time.
o Add mprotect
o Add a few more functions for sparc that were missing.  (Only matters
  for non-linkage-table builds.  Shouldn't have any affect on
  linkage-table builds.)
parent 227d9627
No related branches found
No related tags found
No related merge requests found
/* Routines that must be linked into the core for lisp to work. */ /* Routines that must be linked into the core for lisp to work. */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.37 2005/09/15 18:26:53 rtoy Exp $ */ /* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.38 2008/02/08 21:17:57 rtoy Exp $ */
#ifndef _UNDEFINEDS_H_ /*
#define _UNDEFINEDS_H_ * Do not wrap this inside an #ifndef/#endif!
*
* This file is intentionally included multiple times in undefineds.c
* and is expected to do something useful each time!
*/
/* Pick up all the syscalls. */ /* Pick up all the syscalls. */
F(accept) F(accept)
...@@ -82,6 +86,7 @@ F(accept) ...@@ -82,6 +86,7 @@ F(accept)
F(mkdir) F(mkdir)
F(mknod) F(mknod)
F(mmap) F(mmap)
F(mprotect)
F(mount) F(mount)
F(msync) F(msync)
F(munmap) F(munmap)
...@@ -281,6 +286,21 @@ F(accept) ...@@ -281,6 +286,21 @@ F(accept)
F(statfs64) F(statfs64)
F(lockf64) F(lockf64)
#endif #endif
#if defined(sparc)
F(dladdr)
F(open64)
F(creat64)
F(lseek64)
F(truncate64)
F(ftruncate64)
F(stat64)
F(fstat64)
F(lstat64)
F(readdir64)
F(sysinfo)
F(uname)
F(getpwent_r)
#endif
#if defined(sparc) || defined(linux) #if defined(sparc) || defined(linux)
F(getpwnam_r) F(getpwnam_r)
F(getpwuid_r) F(getpwuid_r)
...@@ -296,4 +316,3 @@ F(accept) ...@@ -296,4 +316,3 @@ F(accept)
F(setpwent) F(setpwent)
F(getpwent) F(getpwent)
F(endpwent) F(endpwent)
#endif /* _UNDEFINEDS_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment