linux/include/linux/string_choices.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_STRING_CHOICES_H_
#define _LINUX_STRING_CHOICES_H_

#include <linux/types.h>

static inline const char *str_enable_disable(bool v)
{}

static inline const char *str_enabled_disabled(bool v)
{}

static inline const char *str_hi_lo(bool v)
{}
#define str_lo_hi(v)

static inline const char *str_high_low(bool v)
{}
#define str_low_high(v)

static inline const char *str_read_write(bool v)
{}
#define str_write_read(v)

static inline const char *str_on_off(bool v)
{}

static inline const char *str_yes_no(bool v)
{}

/**
 * str_plural - Return the simple pluralization based on English counts
 * @num: Number used for deciding pluralization
 *
 * If @num is 1, returns empty string, otherwise returns "s".
 */
static inline const char *str_plural(size_t num)
{}

#endif