Index: uspace/dist/src/c/demos/edit/search.h
===================================================================
--- uspace/dist/src/c/demos/edit/search.h	(revision 70b570c2ae6ecc7f9046b6e954ee393ef46bbc3a)
+++ uspace/dist/src/c/demos/edit/search.h	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -42,6 +42,6 @@
 typedef struct search search_t;
 typedef bool (*search_equals_fn)(const wchar_t, const wchar_t);
-typedef int (*search_producer_fn)(void *, wchar_t *);
-typedef int (*search_mark_fn)(void *, void **);
+typedef errno_t (*search_producer_fn)(void *, wchar_t *);
+typedef errno_t (*search_mark_fn)(void *, void **);
 typedef void (*search_mark_free_fn)(void *);
 
@@ -60,5 +60,5 @@
 extern bool char_exact_equals(const wchar_t, const wchar_t);
 extern search_t *search_init(const char *, void *, search_ops_t, bool);
-extern int search_next_match(search_t *, match_t *);
+extern errno_t search_next_match(search_t *, match_t *);
 extern void search_fini(search_t *);
 
