[formatting] run everything through codestyle

Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
This commit is contained in:
Travis Geiselbrecht
2019-06-19 20:54:28 -07:00
parent 4f2d4841d8
commit d8fa82cb91
491 changed files with 6037 additions and 9035 deletions

View File

@@ -58,8 +58,7 @@ struct text_line {
/**
* @brief Add a string to the console text
*/
void text_draw(int x, int y, const char *string)
{
void text_draw(int x, int y, const char *string) {
struct text_line *line = malloc(sizeof(struct text_line));
line->str = strdup(string);
@@ -74,8 +73,7 @@ void text_draw(int x, int y, const char *string)
/**
* @brief Refresh the display
*/
void text_update(void)
{
void text_update(void) {
struct display_framebuffer fb;
if (display_get_framebuffer(&fb) < 0)
return;