diff options
| author | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-08-06 15:17:07 +0000 |
|---|---|---|
| committer | Gabriel Scherer <gabriel.scherer@gmail.com> | 2014-08-06 15:17:07 +0000 |
| commit | 8f900e3e889fdfae837f43c807cc3e047f68c831 (patch) | |
| tree | 539ea42fed8b26ea965ec7796ede4a5d179518a9 /otherlibs | |
| parent | 66b3e0dfa36955f5b2d7279fec10c3be867550ce (diff) | |
| download | ocaml-8f900e3e889fdfae837f43c807cc3e047f68c831.tar.gz | |
Add missing Noreturn qualifiers
(patch by Peter Zotov, review by Max Mouratov)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
| -rw-r--r-- | otherlibs/graph/libgraph.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otherlibs/graph/libgraph.h b/otherlibs/graph/libgraph.h index e75ee801cc..71204e3133 100644 --- a/otherlibs/graph/libgraph.h +++ b/otherlibs/graph/libgraph.h @@ -15,6 +15,7 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <mlvalues.h> +#include <misc.h> struct canvas { int w, h; /* Dimensions of the drawable */ @@ -73,7 +74,7 @@ extern int caml_gr_bits_per_pixel; #endif #endif -extern void caml_gr_fail(char *fmt, char *arg); +extern void caml_gr_fail(char *fmt, char *arg) Noreturn; extern void caml_gr_check_open(void); extern unsigned long caml_gr_pixel_rgb(int rgb); extern int caml_gr_rgb_pixel(long unsigned int pixel); |
