mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 13:13:02 +01:00
Fixed clang error, disabling the execute module.
This commit is contained in:
parent
d08feb2cc5
commit
e8cd1417b7
@ -70,8 +70,8 @@ void print_time(WINDOW *window)
|
|||||||
wattroff(window,COLOR_PAIR(BLUE));
|
wattroff(window,COLOR_PAIR(BLUE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Returns true if the string is empty, false otherwise */
|
/* Returns 1 if the string is empty, 0 otherwise */
|
||||||
bool string_is_empty(char *string)
|
int string_is_empty(char *string)
|
||||||
{
|
{
|
||||||
return string[0] == '\0';
|
return string[0] == '\0';
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,8 @@ struct tm *get_time(void);
|
|||||||
/* Prints the time to given window */
|
/* Prints the time to given window */
|
||||||
void print_time(WINDOW *window);
|
void print_time(WINDOW *window);
|
||||||
|
|
||||||
/* Returns true if the string is empty, false otherwise */
|
/* Returns 1 if the string is empty, 0 otherwise */
|
||||||
bool string_is_empty(char *string);
|
int string_is_empty(char *string);
|
||||||
|
|
||||||
/* convert a multibyte string to a wide character string (must provide buffer) */
|
/* convert a multibyte string to a wide character string (must provide buffer) */
|
||||||
int char_to_wcs_buf(wchar_t *buf, const uint8_t *string, size_t n);
|
int char_to_wcs_buf(wchar_t *buf, const uint8_t *string, size_t n);
|
||||||
|
Loading…
Reference in New Issue
Block a user