Browse Source

Removed old Common.h

Joseph Henry 9 years ago
parent
commit
fa7220ec0e
3 changed files with 2 additions and 32 deletions
  1. 2 2
      netcon/Common.c
  2. 0 30
      netcon/Common.h
  3. BIN
      netcon/libintercept.so.1.0

+ 2 - 2
netcon/Common.c

@@ -36,6 +36,8 @@
 #include <arpa/inet.h>
 #include <netinet/in.h>
 #include <pthread.h>
+#include <fcntl.h>
+
 
 #define DEBUG_LEVEL 5
 
@@ -43,8 +45,6 @@
 #define MSG_INFO  1 // Information which is generally useful to any user
 #define MSG_DEBUG 2 // Information which is only useful to someone debugging
 
-#include "Common.h"
-
 #ifdef NETCON_INTERCEPT
 
 extern pthread_mutex_t loglock;

+ 0 - 30
netcon/Common.h

@@ -1,30 +0,0 @@
-
-#ifndef _COMMON_H_
-#define _COMMON_H_
-
-//#include <unistd.h>
-#include <sys/ioctl.h>
-#include <stdlib.h>
-#include <sys/wait.h>
-#include <stdarg.h>
-#include <sys/stat.h>
-#include <sys/ipc.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <time.h>
-#include <assert.h>
-#include <signal.h>
-#include <sys/socket.h>
-
-/*
-void set_log_options(int, char *, int);
-void show_msg(int level, char *, ...);
-unsigned int resolve_ip(char *, int, int);
-*/
-
-#endif

BIN
netcon/libintercept.so.1.0