summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanlong Gao <gaowanlong@cn.fujitsu.com>2012-07-18 09:58:44 +0800
committerRichard W.M. Jones <rjones@redhat.com>2012-07-18 09:05:32 +0100
commit2f89f584c0203023f8a829ff9796dc2c14ddeb68 (patch)
tree6aa199298715f2d6369c026337ec677273160616
parent8e75e21b23f18ec0b0fa4f07f96c31dd56a50f25 (diff)
downloadlibguestfs-2f89f584c0203023f8a829ff9796dc2c14ddeb68.tar.gz
libguestfs-2f89f584c0203023f8a829ff9796dc2c14ddeb68.tar.xz
libguestfs-2f89f584c0203023f8a829ff9796dc2c14ddeb68.zip
augeas: make functions as noreturn
Just make gcc happy. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
-rw-r--r--daemon/augeas.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c
index f03b819c..a6495d26 100644
--- a/daemon/augeas.c
+++ b/daemon/augeas.c
@@ -389,85 +389,85 @@ optgroup_augeas_available (void)
return 0;
}
-int
+int __attribute__((noreturn))
do_aug_init (const char *root, int flags)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_close (void)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_defvar (const char *name, const char *expr)
{
abort ();
}
-guestfs_int_int_bool *
+guestfs_int_int_bool * __attribute__((noreturn))
do_aug_defnode (const char *name, const char *expr, const char *val)
{
abort ();
}
-char *
+char * __attribute__((noreturn))
do_aug_get (const char *path)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_set (const char *path, const char *val)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_clear (const char *path)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_insert (const char *path, const char *label, int before)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_rm (const char *path)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_mv (const char *src, const char *dest)
{
abort ();
}
-char **
+char ** __attribute__((noreturn))
do_aug_match (const char *path)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_save (void)
{
abort ();
}
-int
+int __attribute__((noreturn))
do_aug_load (void)
{
abort ();
}
-char **
+char ** __attribute__((noreturn))
do_aug_ls (const char *path)
{
abort ();