aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-07 22:10:43 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-07 22:11:53 +0100
commit61ad99b611c454eaacc8709d313fa7db078eff29 (patch)
tree461d4797e14618f7b4b13b04e1690e77f3723583 /src/utils.h
parent99116d0f70f4104b8415f36f8cab9c22c36a069c (diff)
downloadtdv-61ad99b611c454eaacc8709d313fa7db078eff29.tar.gz
tdv-61ad99b611c454eaacc8709d313fa7db078eff29.tar.xz
tdv-61ad99b611c454eaacc8709d313fa7db078eff29.zip
Make more use of xstrtoul()
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index c3bdd84..8e43995 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,7 +1,7 @@
/*
* utils.h: miscellaneous utilities
*
- * Copyright (c) 2013, Přemysl Janouch <p.janouch@gmail.com>
+ * Copyright (c) 2013 - 2015, Přemysl Janouch <p.janouch@gmail.com>
* All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -40,6 +40,7 @@
gboolean stream_read_all (GByteArray *ba, GInputStream *is, GError **error);
gchar *stream_read_string (GDataInputStream *dis, GError **error);
+gboolean xstrtoul (unsigned long *out, const char *s, int base);
void update_curses_terminal_size (void);
#endif /* ! UTILS_H */