chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random-util: always cast from smaller to bigger type when comparing
[elogind.git]
/
src
/
basic
/
locale-util.h
diff --git
a/src/basic/locale-util.h
b/src/basic/locale-util.h
index b0f9679286c580c0eab994b2ae6040c7ffa5a524..0630a034ab475f48552062c43d9567c9b2a42f7c 100644
(file)
--- 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);
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,
+
M
DASH,
+ _
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_;
const char* locale_variable_to_string(LocaleVariable i) _const_;
LocaleVariable locale_variable_from_string(const char *s) _pure_;