Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumphijack g/c unused global
details: https://anonhg.NetBSD.org/src/rev/6b2c549d8a01
branches: trunk
changeset: 763047:6b2c549d8a01
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Mar 09 09:17:12 2011 +0000
description:
g/c unused global
diffstat:
lib/librumphijack/hijack.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 313cd45f331a -r 6b2c549d8a01 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c Wed Mar 09 07:49:15 2011 +0000
+++ b/lib/librumphijack/hijack.c Wed Mar 09 09:17:12 2011 +0000
@@ -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");
/*
Home |
Main Index |
Thread Index |
Old Index