summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1998-12-14 19:23:16 +0000
committerdt <dt@FreeBSD.org>1998-12-14 19:23:16 +0000
commitcf4547cfadfb4c1f51df3ddc23d1a2b1f61063dd (patch)
tree3b74fc6b98a883128022ef899c54a6b00505b949
parent4b989edfb5c44c042d899c1e5e0486fa7338c712 (diff)
downloadFreeBSD-src-cf4547cfadfb4c1f51df3ddc23d1a2b1f61063dd.zip
FreeBSD-src-cf4547cfadfb4c1f51df3ddc23d1a2b1f61063dd.tar.gz
Make this protototype of mmap return void *, like two other copies.
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index c7db2dd..b2f6957 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)stdio.h 8.5 (Berkeley) 4/29/95
- * $Id: stdio.h,v 1.19 1998/07/08 00:52:40 peter Exp $
+ * $Id: stdio.h,v 1.20 1998/07/13 06:45:20 bde Exp $
*/
#ifndef _STDIO_H_
@@ -279,7 +279,7 @@ _BSD_OFF_T_ lseek __P((int, _BSD_OFF_T_, int));
#endif
#ifndef _MMAP_DECLARED
#define _MMAP_DECLARED
-char *mmap __P((void *, size_t, int, int, int, _BSD_OFF_T_));
+void *mmap __P((void *, size_t, int, int, int, _BSD_OFF_T_));
#endif
#ifndef _TRUNCATE_DECLARED
#define _TRUNCATE_DECLARED
OpenPOWER on IntegriCloud