summaryrefslogtreecommitdiff
path: root/eel/eel-string.h
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-05 11:25:23 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-05 11:26:49 +0200
commit7447f62fc70671ada9a18620546d8f3700d1bebc (patch)
treef4409f03942c56eb67941e5c1934bc00333d1df8 /eel/eel-string.h
parent9df807799d6678be0723b93b6df259c3e2962cd5 (diff)
downloadnautilus-7447f62fc70671ada9a18620546d8f3700d1bebc.tar.gz
eel: string: remove custom strdup_printf functions
These aren’t used anywhere and cause Clang to spit out errors about format strings not being literals.
Diffstat (limited to 'eel/eel-string.h')
-rw-r--r--eel/eel-string.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/eel/eel-string.h b/eel/eel-string.h
index 23485104a..91c370aa1 100644
--- a/eel/eel-string.h
+++ b/eel/eel-string.h
@@ -88,18 +88,4 @@ void eel_ref_str_unref (eel_ref_str str);
#define eel_ref_str_peek(__str) ((const char *)(__str))
-
-typedef struct {
- char character;
- char *(*to_string) (char *format, va_list va);
- void (*skip) (va_list *va);
-} EelPrintfHandler;
-
-char *eel_strdup_printf_with_custom (EelPrintfHandler *handlers,
- const char *format,
- ...);
-char *eel_strdup_vprintf_with_custom (EelPrintfHandler *custom,
- const char *format,
- va_list va);
-
#endif /* EEL_STRING_H */