Skip to content

Commit

Permalink
fix implicit declaration warning so we can compile with -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesko Appelfeller committed Oct 15, 2018
1 parent 55ffa16 commit 5d0bc58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions robot/src/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ typedef enum WebRTCRobot_ReturnCode {

extern int errno;
extern int h_errno;
extern const char *hstrerror(int errnum);

//print message, followed by string representation of current errno, optionally exit program
extern void handle_errno(const char *msg, bool exit_program);
Expand Down

0 comments on commit 5d0bc58

Please sign in to comment.