summaryrefslogtreecommitdiff
path: root/usr/src/lib/libtsnet/common
diff options
context:
space:
mode:
authorraf <none@none>2008-06-06 14:02:15 -0700
committerraf <none@none>2008-06-06 14:02:15 -0700
commit7257d1b4d25bfac0c802847390e98a464fd787ac (patch)
treec73fc17df920bc2ca9438c25fea3529890296afd /usr/src/lib/libtsnet/common
parent455903679f53d12d92035adc60bc7c3d95e6b6a2 (diff)
downloadillumos-joyent-7257d1b4d25bfac0c802847390e98a464fd787ac.tar.gz
PSARC 2008/309 expunge synonyms.h
6700179 expunge synonyms.h --HG-- rename : usr/src/cmd/sgs/libelf/common/syn.h => deleted_files/usr/src/cmd/sgs/libelf/common/syn.h rename : usr/src/cmd/sgs/librtld/common/lintsup.c => deleted_files/usr/src/cmd/sgs/librtld/common/lintsup.c rename : usr/src/cmd/sgs/rtld/common/_synonyms.h => deleted_files/usr/src/cmd/sgs/rtld/common/_synonyms.h rename : usr/src/common/atomic/atomic_asm_weak.h => deleted_files/usr/src/common/atomic/atomic_asm_weak.h rename : usr/src/lib/common/inc/c_synonyms.h => deleted_files/usr/src/lib/common/inc/c_synonyms.h rename : usr/src/lib/libc/amd64/gen/lexp10.c => deleted_files/usr/src/lib/libc/amd64/gen/lexp10.c rename : usr/src/lib/libc/amd64/gen/llog10.c => deleted_files/usr/src/lib/libc/amd64/gen/llog10.c rename : usr/src/lib/libc/amd64/gen/ltostr.c => deleted_files/usr/src/lib/libc/amd64/gen/ltostr.c rename : usr/src/lib/libc/i386/gen/lexp10.c => deleted_files/usr/src/lib/libc/i386/gen/lexp10.c rename : usr/src/lib/libc/i386/gen/llog10.c => deleted_files/usr/src/lib/libc/i386/gen/llog10.c rename : usr/src/lib/libc/i386/gen/ltostr.c => deleted_files/usr/src/lib/libc/i386/gen/ltostr.c rename : usr/src/lib/libc/inc/synonyms.h => deleted_files/usr/src/lib/libc/inc/synonyms.h rename : usr/src/lib/libc/sparcv9/gen/lexp10.c => deleted_files/usr/src/lib/libc/sparcv9/gen/lexp10.c rename : usr/src/lib/libc/sparcv9/gen/llog10.c => deleted_files/usr/src/lib/libc/sparcv9/gen/llog10.c rename : usr/src/lib/libc_psr/inc.flg => deleted_files/usr/src/lib/libc_psr/inc.flg rename : usr/src/lib/libcrypt/inc/des_synonyms.h => deleted_files/usr/src/lib/libcrypt/inc/des_synonyms.h rename : usr/src/lib/libgen/inc/gen_synonyms.h => deleted_files/usr/src/lib/libgen/inc/gen_synonyms.h rename : usr/src/lib/libtsnet/common/synonyms.h => deleted_files/usr/src/lib/libtsnet/common/synonyms.h rename : usr/src/tools/scripts/check_fnames.sh => deleted_files/usr/src/tools/scripts/check_fnames.sh rename : usr/src/lib/libc/sparc/gen/lexp10.c => usr/src/lib/libc/port/gen/lexp10.c rename : usr/src/lib/libc/sparc/gen/llog10.c => usr/src/lib/libc/port/gen/llog10.c
Diffstat (limited to 'usr/src/lib/libtsnet/common')
-rw-r--r--usr/src/lib/libtsnet/common/synonyms.h52
-rw-r--r--usr/src/lib/libtsnet/common/tnmlp.c16
-rw-r--r--usr/src/lib/libtsnet/common/tnrh.c16
-rw-r--r--usr/src/lib/libtsnet/common/tnrhtp.c16
4 files changed, 18 insertions, 82 deletions
diff --git a/usr/src/lib/libtsnet/common/synonyms.h b/usr/src/lib/libtsnet/common/synonyms.h
deleted file mode 100644
index ed28e16910..0000000000
--- a/usr/src/lib/libtsnet/common/synonyms.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * 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.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information: Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- */
-/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- *
- * From "synonyms.h 7.2 99/06/21 SMI; TSOL 2.x"
- */
-
-#ifndef _SYNONYMS_H
-#define _SYNONYMS_H
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#if defined(__STDC__)
-
-/* external data */
-
-/* functions */
-#define tnrh _tnrh
-#define tnrhtp _tnrhtp
-#define tnmlp _tnmlp
-
-#endif /* __STDC__ */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _SYNONYMS_H */
diff --git a/usr/src/lib/libtsnet/common/tnmlp.c b/usr/src/lib/libtsnet/common/tnmlp.c
index ea4e1c2fc9..1eb40f6cb4 100644
--- a/usr/src/lib/libtsnet/common/tnmlp.c
+++ b/usr/src/lib/libtsnet/common/tnmlp.c
@@ -18,18 +18,18 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
-#include "synonyms.h"
-#include <sys/types.h>
-#include <sys/syscall.h>
-#include <libtsnet.h>
-#include <sys/tsol/tsyscall.h>
+#include <sys/types.h>
+#include <sys/syscall.h>
+#include <libtsnet.h>
+#include <sys/tsol/tsyscall.h>
/*
* tnmlp(2TSOL) - manipulate kernel trusted network multilevel port
@@ -38,10 +38,6 @@
* This is the library interface to the system call.
*/
-#ifdef __STDC__
-#pragma weak tnmlp = _tnmlp
-#endif
-
int
tnmlp(int cmd, tsol_mlpent_t *buf)
{
diff --git a/usr/src/lib/libtsnet/common/tnrh.c b/usr/src/lib/libtsnet/common/tnrh.c
index 3213005cc9..95221376c0 100644
--- a/usr/src/lib/libtsnet/common/tnrh.c
+++ b/usr/src/lib/libtsnet/common/tnrh.c
@@ -18,18 +18,18 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
-#include "synonyms.h"
-#include <sys/types.h>
-#include <sys/syscall.h>
-#include <libtsnet.h>
-#include <sys/tsol/tsyscall.h>
+#include <sys/types.h>
+#include <sys/syscall.h>
+#include <libtsnet.h>
+#include <sys/tsol/tsyscall.h>
/*
* tnrh(2TSOL) - manipulate kernel trusted network remote hosts cache
@@ -37,10 +37,6 @@
* This is the library interface to the system call.
*/
-#ifdef __STDC__
-#pragma weak tnrh = _tnrh
-#endif
-
int
tnrh(int cmd, tsol_rhent_t *buf)
{
diff --git a/usr/src/lib/libtsnet/common/tnrhtp.c b/usr/src/lib/libtsnet/common/tnrhtp.c
index 9591b6ad60..40467695ad 100644
--- a/usr/src/lib/libtsnet/common/tnrhtp.c
+++ b/usr/src/lib/libtsnet/common/tnrhtp.c
@@ -18,18 +18,18 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
-#include "synonyms.h"
-#include <sys/types.h>
-#include <sys/syscall.h>
-#include <libtsnet.h>
-#include <sys/tsol/tsyscall.h>
+#include <sys/types.h>
+#include <sys/syscall.h>
+#include <libtsnet.h>
+#include <sys/tsol/tsyscall.h>
/*
* tnrhtp(2TSOL) - manipulate kernel trusted network remote host
@@ -38,10 +38,6 @@
* This is the library interface to the system call.
*/
-#ifdef __STDC__
-#pragma weak tnrhtp = _tnrhtp
-#endif
-
int
tnrhtp(int cmd, tsol_tpent_t *buf)
{