diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/xmmap.c | 5 | ||||
-rw-r--r-- | openbsd-compat/xmmap.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c index 8f1d2022c..9dc4340a7 100644 --- a/openbsd-compat/xmmap.c +++ b/openbsd-compat/xmmap.c | |||
@@ -1,4 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2002 Tim Rice. All rights reserved. | ||
3 | * MAP_FAILED code by Solar Designer. | ||
4 | * | ||
2 | * Redistribution and use in source and binary forms, with or without | 5 | * Redistribution and use in source and binary forms, with or without |
3 | * modification, are permitted provided that the following conditions | 6 | * modification, are permitted provided that the following conditions |
4 | * are met: | 7 | * are met: |
@@ -20,6 +23,8 @@ | |||
20 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
21 | */ | 24 | */ |
22 | 25 | ||
26 | /* $Id: xmmap.c,v 1.3 2003/06/02 02:25:27 tim Exp $ */ | ||
27 | |||
23 | #include "includes.h" | 28 | #include "includes.h" |
24 | 29 | ||
25 | #ifdef HAVE_SYS_MMAN_H | 30 | #ifdef HAVE_SYS_MMAN_H |
diff --git a/openbsd-compat/xmmap.h b/openbsd-compat/xmmap.h index c0fa04aca..cae884060 100644 --- a/openbsd-compat/xmmap.h +++ b/openbsd-compat/xmmap.h | |||
@@ -1,4 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2002 Tim Rice. All rights reserved. | ||
3 | * | ||
2 | * Redistribution and use in source and binary forms, with or without | 4 | * Redistribution and use in source and binary forms, with or without |
3 | * modification, are permitted provided that the following conditions | 5 | * modification, are permitted provided that the following conditions |
4 | * are met: | 6 | * are met: |
@@ -20,4 +22,6 @@ | |||
20 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 22 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
21 | */ | 23 | */ |
22 | 24 | ||
25 | /* $Id: xmmap.h,v 1.2 2003/06/02 02:25:27 tim Exp $ */ | ||
26 | |||
23 | void *xmmap(size_t size); | 27 | void *xmmap(size_t size); |