diff options
Diffstat (limited to 'src/alias.c')
| -rw-r--r-- | src/alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alias.c b/src/alias.c index bbbbf65..bf1a236 100644 --- a/src/alias.c +++ b/src/alias.c @@ -40,14 +40,14 @@ static size_t alias_hash(const char *s) { /** * @brief Look up an alias. * @param name Candidate command word. - * @return The alias, or NULL if `name` is not one. + * @return The alias, or nullptr if `name` is not one. */ alias *alias_find(const char *name) { for (alias *a = atab[alias_hash(name)]; a; a = a->next) { if (!strcmp(a->name, name)) return a; } - return NULL; + return nullptr; } /** |
