diff options
Diffstat (limited to 'src/libstddjb/tain_earliest1.c')
-rw-r--r-- | src/libstddjb/tain_earliest1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstddjb/tain_earliest1.c b/src/libstddjb/tain_earliest1.c new file mode 100644 index 0000000..af6ba3a --- /dev/null +++ b/src/libstddjb/tain_earliest1.c @@ -0,0 +1,8 @@ +/* ISC license. */ + +#include <skalibs/tai.h> + +void tain_earliest1 (tain *t, tain const *u) +{ + if (tain_less(u, t)) *t = *u ; +} |