changeset 5253:c4e66dc3222d

7153343: Dependency on non-POSIX header file <link.h> causes portability problem Summary: Remove the unneccessary link.h Reviewed-by: alanb, chegar Contributed-by: Jonathan Lu <luchsh@linux.vnet.ibm.com>
author littlee
date Fri, 16 Mar 2012 10:47:25 +0800
parents e48136bb8fdd
children fa957635aa40
files src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c src/solaris/native/sun/security/pkcs11/j2secmod_md.c src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c src/solaris/native/sun/security/smartcardio/pcsc_md.c src/solaris/npt/npt_md.h
diffstat 6 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c	Fri Mar 16 10:47:25 2012 +0800
@@ -30,9 +30,6 @@
 
 #include <stdlib.h>
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 
 #ifdef __solaris__
 #include <strings.h>
--- a/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c	Fri Mar 16 10:47:25 2012 +0800
@@ -26,9 +26,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 #include "NativeFunc.h"
 
 /* standard GSS method names (ordering is from mapfile) */
--- a/src/solaris/native/sun/security/pkcs11/j2secmod_md.c	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/native/sun/security/pkcs11/j2secmod_md.c	Fri Mar 16 10:47:25 2012 +0800
@@ -28,9 +28,6 @@
 #include <string.h>
 
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 
 #include <jni_util.h>
 
--- a/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c	Fri Mar 16 10:47:25 2012 +0800
@@ -64,9 +64,6 @@
 #include <assert.h>
 
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 
 #include <jni.h>
 
--- a/src/solaris/native/sun/security/smartcardio/pcsc_md.c	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/native/sun/security/smartcardio/pcsc_md.c	Fri Mar 16 10:47:25 2012 +0800
@@ -29,9 +29,6 @@
 #include <assert.h>
 
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 
 #include <winscard.h>
 
--- a/src/solaris/npt/npt_md.h	Thu Mar 15 14:40:53 2012 -0700
+++ b/src/solaris/npt/npt_md.h	Fri Mar 16 10:47:25 2012 +0800
@@ -32,9 +32,6 @@
 #include <string.h>
 #include <errno.h>
 #include <dlfcn.h>
-#ifndef __APPLE__
-#include <link.h>
-#endif
 #include <jvm_md.h>
 
 #define NPT_LIBNAME "npt"