From 159cf8a6ecac7ecbb601c9653abfd0fa878075d8 Mon Sep 17 00:00:00 2001 From: wesolows Date: Thu, 18 Aug 2005 18:05:02 -0700 Subject: 6260411 several headers have typos 6266841 the C preprocessor is feeling abused by token pasting 6268776 cw should pass the -t option to the linker 6270170 CCNEEDED should be set properly in Makefile.master for g++ builds 6271934 cw should accept -xcrossfile --- usr/src/head/inttypes.h | 2 +- usr/src/head/iso/stdlib_iso.h | 2 +- usr/src/head/iso/wchar_iso.h | 2 +- usr/src/head/libintl.h | 2 +- usr/src/head/regex.h | 2 +- usr/src/head/rtld_db.h | 14 +++++++------- usr/src/head/stddef.h | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'usr/src/head') diff --git a/usr/src/head/inttypes.h b/usr/src/head/inttypes.h index 4be889c3d2..e6137d6f93 100644 --- a/usr/src/head/inttypes.h +++ b/usr/src/head/inttypes.h @@ -55,7 +55,7 @@ extern "C" { /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: diff --git a/usr/src/head/iso/stdlib_iso.h b/usr/src/head/iso/stdlib_iso.h index 293cf10fea..2a636c59f3 100644 --- a/usr/src/head/iso/stdlib_iso.h +++ b/usr/src/head/iso/stdlib_iso.h @@ -97,7 +97,7 @@ typedef unsigned int size_t; /* (historical version) */ /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: diff --git a/usr/src/head/iso/wchar_iso.h b/usr/src/head/iso/wchar_iso.h index 27e0b5988f..ab883c10e6 100644 --- a/usr/src/head/iso/wchar_iso.h +++ b/usr/src/head/iso/wchar_iso.h @@ -70,7 +70,7 @@ namespace std { /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: diff --git a/usr/src/head/libintl.h b/usr/src/head/libintl.h index 9c8ca23cf5..94b4d03153 100644 --- a/usr/src/head/libintl.h +++ b/usr/src/head/libintl.h @@ -40,7 +40,7 @@ extern "C" { /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: diff --git a/usr/src/head/regex.h b/usr/src/head/regex.h index 6c20c3a802..5402ef64cd 100644 --- a/usr/src/head/regex.h +++ b/usr/src/head/regex.h @@ -45,7 +45,7 @@ extern "C" { /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: diff --git a/usr/src/head/rtld_db.h b/usr/src/head/rtld_db.h index f3e7f9cacd..2d726730dc 100644 --- a/usr/src/head/rtld_db.h +++ b/usr/src/head/rtld_db.h @@ -20,8 +20,8 @@ * CDDL HEADER END */ /* - * Copyright (c) 2001 by Sun Microsystems, Inc. - * All rights reserved. + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ #ifndef _RTLD_DB_H @@ -162,7 +162,7 @@ typedef struct rd_plt_info { */ #define RD_FLG_PI_PLTBOUND 0x0001 /* Indicates that the PLT */ /* has been bound - and that */ - /* pi_baddr will contain it's */ + /* pi_baddr will contain its */ /* destination address */ struct ps_prochandle; @@ -172,7 +172,7 @@ struct ps_prochandle; */ #ifdef __STDC__ extern void rd_delete(rd_agent_t *); -extern char * rd_errstr(rd_err_e rderr); +extern char *rd_errstr(rd_err_e rderr); extern rd_err_e rd_event_addr(rd_agent_t *, rd_event_e, rd_notify_t *); extern rd_err_e rd_event_enable(rd_agent_t *, int); extern rd_err_e rd_event_getmsg(rd_agent_t *, rd_event_msg_t *); @@ -180,21 +180,21 @@ extern rd_err_e rd_init(int); extern rd_err_e rd_loadobj_iter(rd_agent_t *, rl_iter_f *, void *); extern void rd_log(const int); -extern rd_agent_t * rd_new(struct ps_prochandle *); +extern rd_agent_t *rd_new(struct ps_prochandle *); extern rd_err_e rd_objpad_enable(struct rd_agent *, size_t); extern rd_err_e rd_plt_resolution(rd_agent_t *, psaddr_t, lwpid_t, psaddr_t, rd_plt_info_t *); extern rd_err_e rd_reset(struct rd_agent *); #else extern void rd_delete(); -extern char * rd_errstr(); +extern char *rd_errstr(); extern rd_err_e rd_event_addr(); extern rd_err_e rd_event_enable(); extern rd_err_e rd_event_getmsg(); extern rd_err_e rd_init(); extern rd_err_e rd_loadobj_iter(); extern void rd_log(); -extern rd_agent_t * rd_new(); +extern rd_agent_t *rd_new(); extern rd_err_e rd_objpad_enable(); extern rd_err_e rd_plt_resolution(); extern rd_err_e rd_reset(); diff --git a/usr/src/head/stddef.h b/usr/src/head/stddef.h index 15a4ba0f6b..1e3d016048 100644 --- a/usr/src/head/stddef.h +++ b/usr/src/head/stddef.h @@ -52,7 +52,7 @@ extern "C" { /* * wchar_t is a built-in type in standard C++ and as such is not * defined here when using standard C++. However, the GNU compiler - * fixincludes utility nonetheless creates it's own version of this + * fixincludes utility nonetheless creates its own version of this * header for use by gcc and g++. In that version it adds a redundant * guard for __cplusplus. To avoid the creation of a gcc/g++ specific * header we need to include the following magic comment: -- cgit v1.2.3