Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Prefixed typedef with namespace. #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/output-plugins/spo_alert_fwsam.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
#include <sys/filio.h>
#endif

typedef int SOCKET;
typedef int BARNYARD2_SOCKET;

#ifndef INVALID_SOCKET
#define INVALID_SOCKET -1
Expand Down Expand Up @@ -963,7 +963,7 @@ void AlertFWsam(Packet *p, void *event, uint32_t event_type, void *arg)
FWsamPacket sampacket;
FWsamStation *station=NULL;
FWsamList *fwsamlist;
SOCKET stationsocket;
BARNYARD2_SOCKET stationsocket;
int i,len,deletestation,stationtry=0;
char *encbuf,*decbuf;
static unsigned long lastbsip[FWSAM_REPET_BLOCKS];
Expand Down Expand Up @@ -1389,7 +1389,7 @@ void AlertFWsam(Packet *p, void *event, uint32_t event_type, void *arg)
void FWsamCheckOut(FWsamStation *station)
{
FWsamPacket sampacket;
SOCKET stationsocket;
BARNYARD2_SOCKET stationsocket;
int i,len;
char *encbuf,*decbuf;

Expand Down Expand Up @@ -1540,7 +1540,7 @@ int FWsamCheckIn(FWsamStation *station)
int i,len,stationok=TRUE;
FWsamPacket sampacket;
char *encbuf,*decbuf;
SOCKET stationsocket;
BARNYARD2_SOCKET stationsocket;


/* create a socket for the station */
Expand Down