# session_previous_alert

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

```c
static struct winlink * session_previous_alert(struct winlink *)
```

## Parameters

- `wl` (`struct winlink *`)

## Called by

- [`session_previous`](/en/tmux/latest/reference/c-function-session_previous/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L440)

## Calls

- [`winlink_previous`](/en/tmux/latest/reference/c-function-winlink_previous/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L424)

## Referenced declarations

- [`winlink.flags`](/en/tmux/latest/reference/c-struct-winlink-flags/) (attribute)
- [`winlink`](/en/tmux/latest/reference/c-struct-winlink/) (struct)
- [`WINLINK_ALERTFLAGS`](/en/tmux/latest/reference/c-define-tmux-h-winlink_alertflags/) (constant)
