summaryrefslogtreecommitdiff
path: root/src/basic/locale-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-10 16:44:29 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-10 16:44:29 +0200
commit4b273d46bb939d03757fdf1a932d3811633e0cdf (patch)
tree201621f2bb5c3e96a0ba916046dc210272754135 /src/basic/locale-util.h
parent773ebc0c32cb0d176c0a0bdf633b0891947558d7 (diff)
parentdff4bf93d449b9d9086123521f83d68e98cecd09 (diff)
Merge pull request #3220 from keszybz/install-fixes
Fix "preset-all" with dangling symlinks and install-section hint emitted too eagerly
Diffstat (limited to 'src/basic/locale-util.h')
-rw-r--r--src/basic/locale-util.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h
index b0f9679286..0630a034ab 100644
--- a/src/basic/locale-util.h
+++ b/src/basic/locale-util.h
@@ -55,19 +55,19 @@ void init_gettext(void);
bool is_locale_utf8(void);
-typedef enum DrawSpecialChar {
- DRAW_TREE_VERTICAL,
- DRAW_TREE_BRANCH,
- DRAW_TREE_RIGHT,
- DRAW_TREE_SPACE,
- DRAW_TRIANGULAR_BULLET,
- DRAW_BLACK_CIRCLE,
- DRAW_ARROW,
- DRAW_DASH,
- _DRAW_SPECIAL_CHAR_MAX
-} DrawSpecialChar;
+typedef enum {
+ TREE_VERTICAL,
+ TREE_BRANCH,
+ TREE_RIGHT,
+ TREE_SPACE,
+ TRIANGULAR_BULLET,
+ BLACK_CIRCLE,
+ ARROW,
+ MDASH,
+ _SPECIAL_GLYPH_MAX
+} SpecialGlyph;
-const char *draw_special_char(DrawSpecialChar ch);
+const char *special_glyph(SpecialGlyph code) _const_;
const char* locale_variable_to_string(LocaleVariable i) _const_;
LocaleVariable locale_variable_from_string(const char *s) _pure_;