diff options
Diffstat (limited to 'include/cfetch.h')
| -rw-r--r-- | include/cfetch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cfetch.h b/include/cfetch.h index 268fa22..104ced4 100644 --- a/include/cfetch.h +++ b/include/cfetch.h @@ -13,7 +13,7 @@ typedef struct system_info_t{ char user[64]; - char kernel[64]; + char kernel[128]; char memory[64]; char cpu[64]; } system_info_t; @@ -33,7 +33,7 @@ typedef struct distro_mapping_t void print_ascii_art(system_info_t *info, int art); void get_cpu(system_info_t *info); void get_memory(system_info_t *info); -void get_os(system_info_t *info); +void get_kernel(system_info_t *info); void get_line_length(ascii_art_t *ascii, const char **line); @@ -41,5 +41,6 @@ void get_line_length(ascii_art_t *ascii, const char **line); char *string_format(char *string); char *concat(const char *str1, const char *str2); +char *trim_whitespace(char *str); #endif /* CFETCH_H */ |
