diff options
author | vk199839 <none@none> | 2007-08-18 10:07:23 -0700 |
---|---|---|
committer | vk199839 <none@none> | 2007-08-18 10:07:23 -0700 |
commit | d362b7492b8bcb5ed70f92aa0a6a39bc93b059de (patch) | |
tree | e533d2d558fe414ffff10d43359050e33ca7a518 /usr/src/cmd/prctl/utils.h | |
parent | 332608ac9554f08178b41e86935f5eef65453071 (diff) | |
download | illumos-gate-d362b7492b8bcb5ed70f92aa0a6a39bc93b059de.tar.gz |
PSARC/2006/662 Make err/warn part of Solaris's libc
6495220 add err() et al. to libc
--HG--
rename : usr/src/lib/libipsecutil/common/err.h => usr/src/head/err.h
rename : usr/src/lib/libipsecutil/common/err.c => usr/src/lib/libc/port/gen/err.c
Diffstat (limited to 'usr/src/cmd/prctl/utils.h')
-rw-r--r-- | usr/src/cmd/prctl/utils.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/cmd/prctl/utils.h b/usr/src/cmd/prctl/utils.h index 7ea3e5c4d5..1afa19fe90 100644 --- a/usr/src/cmd/prctl/utils.h +++ b/usr/src/cmd/prctl/utils.h @@ -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. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -35,7 +34,7 @@ extern "C" { #include <sys/types.h> -extern void warn(char *, ...); +extern void warn(const char *, ...); extern char *setprogname(char *); /* |