diff options
Diffstat (limited to 'src/libstddjb/long_fmt.c')
-rw-r--r-- | src/libstddjb/long_fmt.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libstddjb/long_fmt.c b/src/libstddjb/long_fmt.c deleted file mode 100644 index 552fe47..0000000 --- a/src/libstddjb/long_fmt.c +++ /dev/null @@ -1,10 +0,0 @@ -/* ISC license. */ - -#include <skalibs/ulong.h> - -unsigned int long_fmt (char *fmt, long n) -{ - if (n >= 0) return ulong_fmt(fmt, n) ; - if (fmt) *fmt++ = '-' ; - return 1 + ulong_fmt(fmt, -n) ; -} |