Module Name: src
Committed By: pooka
Date: Wed Mar 9 09:17:12 UTC 2011
Modified Files:
src/lib/librumphijack: hijack.c
Log Message:
g/c unused global
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/lib/librumphijack/hijack.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.76 src/lib/librumphijack/hijack.c:1.77
--- src/lib/librumphijack/hijack.c:1.76 Tue Mar 8 21:36:01 2011
+++ src/lib/librumphijack/hijack.c Wed Mar 9 09:17:12 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: hijack.c,v 1.76 2011/03/08 21:36:01 pooka Exp $ */
+/* $NetBSD: hijack.c,v 1.77 2011/03/09 09:17:12 pooka Exp $ */
/*-
* Copyright (c) 2011 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.76 2011/03/08 21:36:01 pooka Exp $");
+__RCSID("$NetBSD: hijack.c,v 1.77 2011/03/09 09:17:12 pooka Exp $");
#define __ssp_weak_name(fun) _hijack_ ## fun
@@ -234,7 +234,6 @@
static pid_t (*host_fork)(void);
static int (*host_daemon)(int, int);
-static int (*host_execve)(const char *, char *const[], char *const[]);
static void * (*host_mmap)(void *, size_t, int, int, int, off_t);
/*
@@ -568,7 +567,6 @@
host_fork = dlsym(RTLD_NEXT, "fork");
host_daemon = dlsym(RTLD_NEXT, "daemon");
- host_execve = dlsym(RTLD_NEXT, "execve");
host_mmap = dlsym(RTLD_NEXT, "mmap");
/*