Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/hostmon.c | 2 --
src/itrafmon.c | 4 ----
src/promisc.c | 2 --
src/rvnamed.c | 3 ---
4 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/hostmon.c b/src/hostmon.c
index 4a1a7e4..16a7aec 100644
--- a/src/hostmon.c
+++ b/src/hostmon.c
@@ -47,8 +47,6 @@ extern int daemonized;
* from log.c, applicable only to this module
*/
-extern char *ltrim(char *buf);
-
/*
* SIGUSR1 logfile rotation handler
*/
diff --git a/src/itrafmon.c b/src/itrafmon.c
index eac620d..886c5c3 100644
--- a/src/itrafmon.c
+++ b/src/itrafmon.c
@@ -46,10 +46,6 @@ details.
extern int exitloop;
extern int daemonized;
-void writetcplog(int logging, FILE * fd, struct tcptableent *entry,
- unsigned int pktlen, int mac, char *message);
-void write_tcp_unclosed(int logging, FILE * fd, struct tcptable *table);
-
void rotate_ipmon_log(int s __unused)
{
rotate_flag = 1;
diff --git a/src/promisc.c b/src/promisc.c
index ab28f16..633d72f 100644
--- a/src/promisc.c
+++ b/src/promisc.c
@@ -31,8 +31,6 @@ details.
#define PROMISC_MSG_MAX 80
-extern int accept_unsupported_interfaces;
-
void init_promisc_list(struct promisc_states **list)
{
FILE *fd;
diff --git a/src/rvnamed.c b/src/rvnamed.c
index 7b4616d..9c5c101 100644
--- a/src/rvnamed.c
+++ b/src/rvnamed.c
@@ -89,7 +89,6 @@ void auto_terminate(int s __unused)
void process_rvn_packet(struct rvn *rvnpacket)
{
int ccfd;
- extern int h_errno;
struct sockaddr_un ccsa;
struct hostent *he;
@@ -214,8 +213,6 @@ int main(void)
FILE *logfile;
- extern int errno;
-
/* Daemonization Sequence */
#ifndef DEBUG
--
1.7.8.4