function without args () -> (void)

This commit is contained in:
bol-van
2023-10-13 20:10:46 +03:00
parent c2075ba941
commit 3e8d7676fc
16 changed files with 59 additions and 59 deletions

View File

@@ -11,8 +11,8 @@
bool checkpcap(uint64_t caps);
bool setpcap(uint64_t caps);
int getmaxcap();
bool dropcaps();
int getmaxcap(void);
bool dropcaps(void);
#define syscall_nr (offsetof(struct seccomp_data, nr))
#define arch_nr (offsetof(struct seccomp_data, arch))
@@ -52,9 +52,9 @@ bool dropcaps();
#endif
bool sec_harden();
bool sec_harden(void);
bool can_drop_root();
bool droproot(uid_t uid, gid_t gid);
void print_id();
void daemonize();
void print_id(void);
void daemonize(void);
bool writepid(const char *filename);