1.1 --- a/templates/native/limits.c Mon Mar 06 22:29:36 2017 +0100
1.2 +++ b/templates/native/limits.c Tue Mar 07 00:28:18 2017 +0100
1.3 @@ -1,6 +1,6 @@
1.4 /* Native functions for limit definition.
1.5
1.6 -Copyright (C) 2016 Paul Boddie <paul@boddie.org.uk>
1.7 +Copyright (C) 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8
1.9 This program is free software; you can redistribute it and/or modify it under
1.10 the terms of the GNU General Public License as published by the Free Software
1.11 @@ -28,12 +28,12 @@
1.12
1.13 /* Limit definition. */
1.14
1.15 -__attr __fn_native_limits_get_maxint(__attr __args[])
1.16 +__attr __fn_native_limits_get_maxint(__attr __self)
1.17 {
1.18 return __new_int(INT_MAX);
1.19 }
1.20
1.21 -__attr __fn_native_limits_get_minint(__attr __args[])
1.22 +__attr __fn_native_limits_get_minint(__attr __self)
1.23 {
1.24 return __new_int(INT_MIN);
1.25 }