diff options
Diffstat (limited to 'tools/ctf/cvt/ctfmerge.c')
| -rw-r--r-- | tools/ctf/cvt/ctfmerge.c | 16 | 
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/ctf/cvt/ctfmerge.c b/tools/ctf/cvt/ctfmerge.c index 546dcdfc9386..2def4904a6fe 100644 --- a/tools/ctf/cvt/ctfmerge.c +++ b/tools/ctf/cvt/ctfmerge.c @@ -176,22 +176,16 @@  #include <unistd.h>  #include <pthread.h>  #include <assert.h> -#if defined(sun)  #include <synch.h> -#endif  #include <signal.h>  #include <libgen.h>  #include <string.h>  #include <errno.h> -#if defined(sun)  #include <alloca.h> -#endif  #include <sys/param.h>  #include <sys/types.h>  #include <sys/mman.h> -#if defined(sun)  #include <sys/sysconf.h> -#endif  #include "ctf_headers.h"  #include "ctftools.h" @@ -232,7 +226,6 @@ usage(void)  	    progname, progname);  } -#if defined(sun)  static void  bigheap(void)  { @@ -280,7 +273,6 @@ bigheap(void)  	(void) memcntl(NULL, 0, MC_HAT_ADVISE, (caddr_t)&mha, 0, 0);  } -#endif  static void  finalize_phase_one(workqueue_t *wq) @@ -603,12 +595,10 @@ terminate_cleanup(void)  	if (outfile == NULL)  		return; -#if !defined(__FreeBSD__)  	if (dounlink) {  		fprintf(stderr, "Removing %s\n", outfile);  		unlink(outfile);  	} -#endif  }  static void @@ -707,15 +697,9 @@ start_threads(workqueue_t *wq)  		    wq);  	} -#if defined(sun)  	sigset(SIGINT, handle_sig);  	sigset(SIGQUIT, handle_sig);  	sigset(SIGTERM, handle_sig); -#else -	signal(SIGINT, handle_sig); -	signal(SIGQUIT, handle_sig); -	signal(SIGTERM, handle_sig); -#endif  	pthread_sigmask(SIG_UNBLOCK, &sets, NULL);  }  | 
