Skip to content

Commit 11adbe4

Browse files
authored
Update tools.h
1 parent 64f239e commit 11adbe4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tools.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ uint32_t ceil_up(uint32_t n, uint32_t offset);
5757
pid_t get_god_pid(char *shortname, size_t shortsz);
5858
bool get_pid_cmdline(pid_t godpid, char *cmdname);
5959

60-
// avoid warnings for old compilers
61-
#if __GNUC__ < 7
62-
extern __ssize_t getline(char **__restrict __lineptr, size_t *__restrict __n,
63-
FILE *__restrict __stream) __wur;
64-
#endif
65-
6660
#define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags)
6761

6862
#endif /* TOOLS_H */

0 commit comments

Comments
 (0)