Add void to all function declarations for functions that take no arguments

Micro-optimization for some architectures. Enforced via
-Wstrict-prototypes
This commit is contained in:
Kovid Goyal
2019-05-13 10:59:01 +05:30
parent 3e964163c0
commit 4fff84b4b9
26 changed files with 78 additions and 76 deletions

View File

@@ -82,7 +82,7 @@ typedef struct {
bool has_margins;
} ScrollData;
GraphicsManager* grman_alloc();
GraphicsManager* grman_alloc(void);
void grman_clear(GraphicsManager*, bool, CellPixelSize fg);
const char* grman_handle_command(GraphicsManager *self, const GraphicsCommand *g, const uint8_t *payload, Cursor *c, bool *is_dirty, CellPixelSize fg);
bool grman_update_layers(GraphicsManager *self, unsigned int scrolled_by, float screen_left, float screen_top, float dx, float dy, unsigned int num_cols, unsigned int num_rows, CellPixelSize);