diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-22 18:13:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-22 18:13:35 +0200 |
commit | 4652a09e31d679ea29e102181de7dec9565be345 (patch) | |
tree | 90f62a9e4cdeab281fd33e351a01840a3d06ea73 /libfonts_decode_font_description.c | |
parent | m doc (diff) | |
download | libfonts-4652a09e31d679ea29e102181de7dec9565be345.tar.gz libfonts-4652a09e31d679ea29e102181de7dec9565be345.tar.bz2 libfonts-4652a09e31d679ea29e102181de7dec9565be345.tar.xz |
Add some blank lines
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_decode_font_description.c')
-rw-r--r-- | libfonts_decode_font_description.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libfonts_decode_font_description.c b/libfonts_decode_font_description.c index 7a8591d..46031de 100644 --- a/libfonts_decode_font_description.c +++ b/libfonts_decode_font_description.c @@ -16,11 +16,13 @@ X(average_width)\ X(charset_registry) + struct range { uint32_t first; uint32_t last; }; + static int parse_hexadecimal(const char *s, const char **endp, uint32_t *valuep) { @@ -42,6 +44,7 @@ parse_hexadecimal(const char *s, const char **endp, uint32_t *valuep) return 0; } + static int parse_decimal(const char *s, const char **endp, uint32_t *valuep) { @@ -58,6 +61,7 @@ parse_decimal(const char *s, const char **endp, uint32_t *valuep) return 0; } + static int parse_number(const char *s, const char **endp, uint32_t *valuep) { @@ -67,6 +71,7 @@ parse_number(const char *s, const char **endp, uint32_t *valuep) return parse_decimal(&s[0], endp, valuep); } + static int cmprange(const void *av, const void *bv) { @@ -74,6 +79,7 @@ cmprange(const void *av, const void *bv) return a->first < b->first ? -1 : a->first > b->first; } + static int fix_charset_subset(char *out, const char *in) { @@ -130,6 +136,7 @@ fix_charset_subset(char *out, const char *in) return 0; } + int libfonts_decode_font_description(struct libfonts_font_description *desc, const char *in) { |