summaryrefslogtreecommitdiff
path: root/usr/src/lib/libmapmalloc/common/valloc.c
diff options
context:
space:
mode:
authorraf <none@none>2007-03-20 19:30:49 -0700
committerraf <none@none>2007-03-20 19:30:49 -0700
commit1d53067866b073ea6710000ba4dd448441361988 (patch)
treefbac45aa59a72e34fdd5e5fccc91c5bb1d0f0df5 /usr/src/lib/libmapmalloc/common/valloc.c
parent84f43ade33b1b00348bdcdfaca9f71f6a0c786eb (diff)
downloadillumos-joyent-1d53067866b073ea6710000ba4dd448441361988.tar.gz
6533630 all malloc interposition libraries need to be made fork-safe
--HG-- rename : usr/src/lib/libmapmalloc/common/malloc_debug.c => deleted_files/usr/src/lib/libmapmalloc/common/malloc_debug.c
Diffstat (limited to 'usr/src/lib/libmapmalloc/common/valloc.c')
-rw-r--r--usr/src/lib/libmapmalloc/common/valloc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/lib/libmapmalloc/common/valloc.c b/usr/src/lib/libmapmalloc/common/valloc.c
index 2b4a443738..5858564a3a 100644
--- a/usr/src/lib/libmapmalloc/common/valloc.c
+++ b/usr/src/lib/libmapmalloc/common/valloc.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,14 +18,16 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright (c) 1991-1997, Sun Microsytems, Inc.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
-#include <sys/types.h>
+#include <c_synonyms.h>
#include <stdlib.h>
#include <errno.h>