summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2015-10-28 22:29:01 +0100
committerBert Münnich <ber.t@posteo.de>2015-10-28 22:29:01 +0100
commit851e4288c102cc4177d54d87aded43d003e85885 (patch)
tree6336fa0d4b01426b6e35f0dbed74632855a1e97d /util.h
parentb096cbd536b94ee848b94d873d0c0a898f574af1 (diff)
downloadnsxiv-851e4288c102cc4177d54d87aded43d003e85885.tar.zst
Prefix safe allocation functions with 'e' instead of 's_'
Diffstat (limited to 'util.h')
-rw-r--r--util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.h b/util.h
index c0ac98f..86abea8 100644
--- a/util.h
+++ b/util.h
@@ -61,9 +61,9 @@ typedef struct {
int stlen;
} r_dir_t;
-void* s_malloc(size_t);
-void* s_realloc(void*, size_t);
-char* s_strdup(const char*);
+void* emalloc(size_t);
+void* erealloc(void*, size_t);
+char* estrdup(const char*);
void warn(const char*, ...);
void die(const char*, ...);