Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove no return value-warnings from P6{int,num}.c
  • Loading branch information
arnsholt committed Mar 5, 2013
1 parent 311fabb commit 814b3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/6model/reprs/P6int.c
Expand Up @@ -13,7 +13,7 @@ static REPROps *this_repr;
static void set_int(PARROT_INTERP, STable *st, void *data, INTVAL value);
static INTVAL get_int(PARROT_INTERP, STable *st, void *data);

static void die_bad_bits(PARROT_INTERP) {
PARROT_DOES_NOT_RETURN static void die_bad_bits(PARROT_INTERP) {
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
"P6int can only handle 1, 2, 4, 8, 16, 32 or 64 bit wide ints.");
}
Expand Down
2 changes: 1 addition & 1 deletion src/6model/reprs/P6num.c
Expand Up @@ -13,7 +13,7 @@ static REPROps *this_repr;
static void set_num(PARROT_INTERP, STable *st, void *data, FLOATVAL value);
static FLOATVAL get_num(PARROT_INTERP, STable *st, void *data);

static void die_bad_bits(PARROT_INTERP) {
PARROT_DOES_NOT_RETURN static void die_bad_bits(PARROT_INTERP) {
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
"P6num can only handle 32 or 64 bit wide floats.");
}
Expand Down

0 comments on commit 814b3bb

Please sign in to comment.