# alerts_reset

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L139
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-alerts-c-alerts_reset/

```c
static void alerts_reset(struct window *)
```

## Parameters

- `w` (`struct window *`)

## Called by

- [`alerts_queue`](/en/tmux/latest/reference/c-function-alerts_queue/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L160)
- [`alerts_reset_all`](/en/tmux/latest/reference/c-function-alerts_reset_all/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L135)

## Calls

- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L152)
- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L150)

## Other function references

- [`alerts_timer`](/en/tmux/latest/reference/c-function-alerts-c-alerts_timer/) (function)

## Referenced declarations

- [`window.alerts_timer`](/en/tmux/latest/reference/c-struct-window-alerts_timer/) (attribute)
- [`window.flags`](/en/tmux/latest/reference/c-struct-window-flags/) (attribute)
- [`window.id`](/en/tmux/latest/reference/c-struct-window-id/) (attribute)
- [`window.options`](/en/tmux/latest/reference/c-struct-window-options/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
- [`WINDOW_SILENCE`](/en/tmux/latest/reference/c-define-tmux-h-window_silence/) (constant)
