Skip to content

Commit

Permalink
Make the declaration of CheckTimeouts a proper C prototype.
Browse files Browse the repository at this point in the history
This avoids a warning when including utp.h in C (not C++).
  • Loading branch information
Juliusz Chroboczek authored and ghazel committed Dec 30, 2010
1 parent cb91759 commit c7e9bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utp.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ bool UTP_Write(struct UTPSocket *socket, size_t count);
void UTP_RBDrained(struct UTPSocket *socket);

// Call periodically to process timeouts and other periodic events
void UTP_CheckTimeouts();
void UTP_CheckTimeouts(void);

// Retrieves the peer address of the specified socket, stores this address in the
// sockaddr structure pointed to by the addr argument, and stores the length of this
Expand Down

0 comments on commit c7e9bae

Please sign in to comment.