Skip to content

Commit

Permalink
Fix some implicit function declarations
Browse files Browse the repository at this point in the history
Hstrdup.c: missing stdlib.h for exit()
Hstrtoul.c: missing string.h for strcmp()
  • Loading branch information
chrstphrchvz committed Mar 15, 2021
1 parent e6d50f8 commit f7565b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pTk/config/Hstrdup.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <stdlib.h>
#include <string.h>

#define STRING "Whatever"
Expand Down
1 change: 1 addition & 0 deletions pTk/config/Hstrtoul.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdlib.h>
#include <string.h>

int main()
{char *e;
Expand Down

0 comments on commit f7565b0

Please sign in to comment.