diff options
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/sgs/include/sgs.h')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/sgs/include/sgs.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/cddl/contrib/opensolaris/cmd/sgs/include/sgs.h b/cddl/contrib/opensolaris/cmd/sgs/include/sgs.h index 34669cf..a1ec44b 100644 --- a/cddl/contrib/opensolaris/cmd/sgs/include/sgs.h +++ b/cddl/contrib/opensolaris/cmd/sgs/include/sgs.h @@ -24,7 +24,7 @@ * All Rights Reserved * * - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * Global include file for all sgs. @@ -35,6 +35,7 @@ #pragma ident "%Z%%M% %I% %E% SMI" + #ifdef __cplusplus extern "C" { #endif @@ -48,11 +49,7 @@ extern "C" { #ifndef _ASM #include <sys/types.h> -#if defined(sun) #include <sys/machelf.h> -#else -#include <elf.h> -#endif #include <stdlib.h> #include <libelf.h> #include <assert.h> @@ -69,14 +66,8 @@ extern "C" { #ifndef _ASM -/* - * link_ver_string[] contains a version string for use by the link-editor - * and all other linker components. It is found in libconv, and is - * generated by sgs/libconv/common/bld_vernote.ksh. That script produces - * libconv/{plat}/vernote.s, which is in turn assembled/linked into - * libconv. - */ -extern const char link_ver_string[]; +extern const char link_ver_string[]; /* Linker version id */ + /* see libconv/{plat}/vernote.s */ /* * Macro to round to next double word boundary. */ |