diff options
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r-- | tests/libcgrouptest.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index f9d51cc..eee6e62 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -78,8 +78,8 @@ enum info_message_t { NOMESSAGE, }; -/* Create a matrix of possible info messages */ -char **info; +/* The set of verbose messages useful to the user */ +extern char info[NUM_MSGS][SIZE]; int64_t val_int64; u_int64_t val_uint64; @@ -135,11 +135,6 @@ static inline void message(int num, int pass, const char *api, static inline void build_path(char *target, char *mountpoint, const char *group, const char *file); -/* Allocate memory and populate info messages */ -void set_info_msgs(); -/* Free the allocated memory for info messages */ -void free_info_msgs(); - static inline pid_t cgrouptest_gettid() { return syscall(__NR_gettid); |