Skip to content

Commit

Permalink
cselect.cc/tools.cc : replace "#include <stdio.h>" by "#include <cstd…
Browse files Browse the repository at this point in the history
…def>", because i only need the definition of NULL
  • Loading branch information
Raizo62 committed Aug 27, 2022
1 parent 41039f4 commit b9c1ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cselect.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <errno.h> // errno
#include <assert.h> // assert
#include <stdio.h> //NULL
#include <cstddef> // NULL

#include "cselect.h"

Expand Down
2 changes: 1 addition & 1 deletion src/tools.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <stdio.h> //NULL
#include <cstddef> // NULL
#include <arpa/inet.h> // struct sockaddr_in & inet_ntoa & ntohs

#include "tools.h"
Expand Down

0 comments on commit b9c1ef2

Please sign in to comment.