Skip to content

Commit

Permalink
Update tools.h
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda authored Feb 23, 2025
1 parent 64f239e commit 11adbe4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ uint32_t ceil_up(uint32_t n, uint32_t offset);
pid_t get_god_pid(char *shortname, size_t shortsz);
bool get_pid_cmdline(pid_t godpid, char *cmdname);

// avoid warnings for old compilers
#if __GNUC__ < 7
extern __ssize_t getline(char **__restrict __lineptr, size_t *__restrict __n,
FILE *__restrict __stream) __wur;
#endif

#define delete_module(mod, flags) syscall(__NR_delete_module, mod, flags)

#endif /* TOOLS_H */

0 comments on commit 11adbe4

Please sign in to comment.