# options_remove

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L337
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-options-c-options_remove/

```c
static void options_remove(struct options_entry *)
```

## Parameters

- `o` (`struct options_entry *`)

## Called by

- [`options_add`](/en/tmux/3.2a/reference/c-function-options-c-options_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L326)
- [`options_free`](/en/tmux/3.2a/reference/c-function-options_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L187)
- [`options_remove_or_default`](/en/tmux/3.2a/reference/c-function-options_remove_or_default/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L1142)

## Calls

- [`options_array_clear`](/en/tmux/3.2a/reference/c-function-options_array_clear/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L342)
- [`options_value_free`](/en/tmux/3.2a/reference/c-function-options-c-options_value_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L344)

## Referenced declarations

- [`options_entry.name`](/en/tmux/3.2a/reference/c-struct-options_entry-name/) (attribute)
- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
- [`OPTIONS_IS_ARRAY`](/en/tmux/3.2a/reference/c-define-options-c-options_is_array/) (constant)
- [`options_entry.owner`](/en/tmux/3.2a/reference/c-struct-options_entry-owner/) (attribute)
- [`options.tree`](/en/tmux/3.2a/reference/c-struct-options-tree/) (attribute)
- [`options_entry.value`](/en/tmux/3.2a/reference/c-struct-options_entry-value/) (attribute)
