Skip to content

Commit

Permalink
Fixed multiple definition of OSPVBlockingFlag.
Browse files Browse the repository at this point in the history
  • Loading branch information
di-shi committed Nov 15, 2024
1 parent 048beb1 commit 1281759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osptnprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ enum socket_stats {

static char tnBuffer[] = "test message";

OSPTBOOL OSPVBlockingFlag;
extern OSPTBOOL OSPVBlockingFlag;

/* OSPPTNProbe - probe systems and return response times */
int OSPPTNProbe( /*0 - normal; < 0 - error code */
Expand Down Expand Up @@ -307,7 +307,7 @@ void OSPPTNProbeEcho(
register unsigned uHost = 0; /* element number in pProbeList */
unsigned uSent = 0; /* bytes sent */
int nRecv = 0; /* bytes received */
register int nCnt = 0; /* simple counter */
int nCnt = 0; /* simple counter */
int nRetVal = 0; /* return value from select */
unsigned long uTime1 = 0; /* temp value for time calculations */
unsigned long uTime2 = 0; /* temp value for time calculations */
Expand Down

1 comment on commit 1281759

@di-shi
Copy link
Contributor Author

@di-shi di-shi commented on 1281759 Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For #13

Please sign in to comment.