summaryrefslogtreecommitdiff
path: root/epan/except.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-02-17 09:13:38 +0000
committerGuy Harris <guy@alum.mit.edu>2011-02-17 09:13:38 +0000
commit0b229a42027168a85875bfe73691aea581a59b74 (patch)
tree12af88525d559b14ae4a5344e45d538c62c0c42f /epan/except.h
parentd36684f364421a0e362359ad91cc248f1f513b83 (diff)
downloadwireshark-0b229a42027168a85875bfe73691aea581a59b74.tar.gz
Is there an SAL tag that says "this function never returns"?
svn path=/trunk/; revision=35978
Diffstat (limited to 'epan/except.h')
-rw-r--r--epan/except.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/except.h b/epan/except.h
index cacd7cbae2..f648806a20 100644
--- a/epan/except.h
+++ b/epan/except.h
@@ -90,6 +90,11 @@ extern void except_setup_try(struct except_stacknode *,
struct except_catch *, const except_id_t [], size_t);
extern struct except_stacknode *except_pop(void);
+/*
+ * XXX - is there some way to annotate the G_GNUC_NORETURN functions
+ * usint the Standard Annotation Language so that Microsoft's static
+ * code analyzer knows they never return?
+ */
/* public interface functions */
extern int except_init(void);
extern void except_deinit(void);