summaryrefslogtreecommitdiff
path: root/src/libotutil/ot-unix-utils.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-03-29 10:24:35 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-03-30 13:14:43 +0000
commitee626c2654b877f5ae6771933330c381efa7e802 (patch)
treeef75e0e8e1a7d81013163097043b3362b69102b3 /src/libotutil/ot-unix-utils.c
parent5f45ab0bb19d0482506797dc3daf739cd74f11a7 (diff)
downloadostree-ee626c2654b877f5ae6771933330c381efa7e802.tar.gz
libutil: Delete some unused error handling APIs
The first one is better as `err`, the second might as well just call `err` too. Closes: #767 Approved by: jlebon
Diffstat (limited to 'src/libotutil/ot-unix-utils.c')
-rw-r--r--src/libotutil/ot-unix-utils.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c
index 4f659a27..46dd346e 100644
--- a/src/libotutil/ot-unix-utils.c
+++ b/src/libotutil/ot-unix-utils.c
@@ -121,17 +121,3 @@ ot_util_path_split_validate (const char *path,
out:
return ret;
}
-
-void
-ot_util_fatal_literal (const char *msg)
-{
- g_printerr ("%s\n", msg);
- exit (EXIT_FAILURE);
-}
-
-void
-ot_util_fatal_gerror (GError *error)
-{
- g_assert (error != NULL);
- ot_util_fatal_literal (error->message);
-}