X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Finttypes%2Fimaxdiv.c;h=553f22e7faf81e64e9de2e2dd65548e51f48deeb;hb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;hp=be93b99cfc0b453072d344e29cf934240b725221;hpb=fde75f89eae541144585db53ce3f7c29d069b4d2;p=pdclib diff --git a/functions/inttypes/imaxdiv.c b/functions/inttypes/imaxdiv.c old mode 100755 new mode 100644 index be93b99..553f22e --- a/functions/inttypes/imaxdiv.c +++ b/functions/inttypes/imaxdiv.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* lldiv( long long int, long long int ) This file is part of the Public Domain C Library (PDCLib). @@ -15,14 +13,13 @@ imaxdiv_t imaxdiv( intmax_t numer, intmax_t denom ) imaxdiv_t rc; rc.quot = numer / denom; rc.rem = numer % denom; - /* TODO: pre-C99 compilers might require modulus corrections */ return rc; } #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {