diff options
Diffstat (limited to 'generic/lib/shared/max.inc')
-rw-r--r-- | generic/lib/shared/max.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/lib/shared/max.inc b/generic/lib/shared/max.inc new file mode 100644 index 0000000..37409fc --- /dev/null +++ b/generic/lib/shared/max.inc @@ -0,0 +1,3 @@ +_CLC_OVERLOAD _CLC_DEF GENTYPE max(GENTYPE a, GENTYPE b) { + return (a > b ? a : b); +} |