As it will be used elsewhere.
* xlat.c (xlat_verbose, xlat_format): Move...
* defs.h: ...here.
#define XLAT_STYLE_FORMAT_SHIFT 2
#define XLAT_STYLE_FORMAT_MASK (3 << XLAT_STYLE_FORMAT_SHIFT)
+#define xlat_verbose(style_) ((style_) & XLAT_STYLE_VERBOSITY_MASK)
+#define xlat_format(style_) ((style_) & XLAT_STYLE_FORMAT_MASK)
+
enum xlat_style {
/**
* Special value that is used for passing to *print{xval,flags}*_ex
#include "xstring.h"
#include <stdarg.h>
-#define xlat_verbose(style_) ((style_) & XLAT_STYLE_VERBOSITY_MASK)
-#define xlat_format(style_) ((style_) & XLAT_STYLE_FORMAT_MASK)
-
static inline enum xlat_style
get_xlat_style(enum xlat_style style)
{