diff options
Diffstat (limited to 'libq/contents.h')
-rw-r--r-- | libq/contents.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libq/contents.h b/libq/contents.h index c766827..a0a5a63 100644 --- a/libq/contents.h +++ b/libq/contents.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2019 Gentoo Foundation + * Copyright 2005-2024 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005-2008 Ned Ludd - <solar@gentoo.org> @@ -24,6 +24,7 @@ typedef struct { long mtime; } contents_entry; -contents_entry *contents_parse_line(char *line); +contents_entry *contents_parse_line_len(char *line, size_t len); +#define contents_parse_line(L) contents_parse_line_len(L, strlen(L)) #endif |