mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
This fixes a compiler warning:
../sway/extensions.c: In function ‘set_background’:
../sway/extensions.c:16:37: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
struct background_config *config = malloc(sizeof(struct background_config));
^
../sway/extensions.c:16:37: warning: incompatible implicit declaration of built-in function ‘malloc’
../sway/extensions.c:16:37: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
|
||
|---|---|---|
| .. | ||
| commands.c | ||
| config.c | ||
| container.c | ||
| debug_log.c | ||
| extensions.c | ||
| focus.c | ||
| handlers.c | ||
| input_state.c | ||
| ipc.c | ||
| layout.c | ||
| main.c | ||
| output.c | ||
| readline.c | ||
| resize.c | ||
| stringop.c | ||
| util.c | ||
| workspace.c | ||