Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
0bba8011
Commit
0bba8011
authored
18 years ago
by
fgilham
Browse files
Options
Downloads
Patches
Plain Diff
Fix FreeBSD version to get rid of some warnings when building the lisp
executable.
parent
2fd33a55
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lisp/FreeBSD-os.c
+2
-5
2 additions, 5 deletions
lisp/FreeBSD-os.c
lisp/FreeBSD-os.h
+9
-2
9 additions, 2 deletions
lisp/FreeBSD-os.h
with
11 additions
and
7 deletions
lisp/FreeBSD-os.c
+
2
−
5
View file @
0bba8011
...
@@ -12,23 +12,20 @@
...
@@ -12,23 +12,20 @@
* Much hacked by Paul Werkowski
* Much hacked by Paul Werkowski
* GENCGC support by Douglas Crosher, 1996, 1997.
* GENCGC support by Douglas Crosher, 1996, 1997.
*
*
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/FreeBSD-os.c,v 1.1
1
200
5
/0
9/15 18:26:50 rtoy
Exp $
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/FreeBSD-os.c,v 1.1
2
200
6
/0
5/30 22:42:05 fgilham
Exp $
*
*
*/
*/
#include
<stdio.h>
#include
"os.h"
#include
<sys/param.h>
#include
<sys/file.h>
#include
<sys/file.h>
#include
<errno.h>
#include
<errno.h>
#include
"./signal.h"
#include
"./signal.h"
#include
"os.h"
#include
"arch.h"
#include
"arch.h"
#include
"globals.h"
#include
"globals.h"
#include
"interrupt.h"
#include
"interrupt.h"
#include
"lispregs.h"
#include
"lispregs.h"
#include
"internals.h"
#include
"internals.h"
#include
<sys/types.h>
#include
<signal.h>
#include
<signal.h>
/* #include <sys/sysinfo.h> */
/* #include <sys/sysinfo.h> */
#include
<sys/proc.h>
#include
<sys/proc.h>
...
...
This diff is collapsed.
Click to expand it.
lisp/FreeBSD-os.h
+
9
−
2
View file @
0bba8011
/*
/*
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/FreeBSD-os.h,v 1.
8
200
5
/0
9/15 18:26:50 rtoy
Exp $
$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/FreeBSD-os.h,v 1.
9
200
6
/0
5/30 22:42:14 fgilham
Exp $
This code was written as part of the CMU Common Lisp project at
This code was written as part of the CMU Common Lisp project at
Carnegie Mellon University, and has been placed in the public domain.
Carnegie Mellon University, and has been placed in the public domain.
...
@@ -11,10 +11,16 @@
...
@@ -11,10 +11,16 @@
#define _FREEBSD_OS_H_
#define _FREEBSD_OS_H_
#include
<osreldate.h>
#include
<osreldate.h>
#include
<sys/types.h>
#include
<sys/param.h>
#include
<sys/uio.h>
#include
<sys/mman.h>
#include
<sys/mman.h>
#include
<sys/signal.h>
#include
<sys/signal.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
#include
<unistd.h>
#define MAP_ANONYMOUS MAP_ANON
#define MAP_ANONYMOUS MAP_ANON
#define MAP_VARIABLE 0
#define MAP_VARIABLE 0
...
@@ -47,5 +53,6 @@ void os_save_context(void);
...
@@ -47,5 +53,6 @@ void os_save_context(void);
#define PROTECTION_VIOLATION_SIGNAL SIGBUS
#define PROTECTION_VIOLATION_SIGNAL SIGBUS
#undef PAGE_SIZE
#endif
/* _FREEBSD_OS_H_ */
#endif
/* _FREEBSD_OS_H_ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment