X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Finttypes%2Fimaxdiv.c;h=553f22e7faf81e64e9de2e2dd65548e51f48deeb;hp=be93b99cfc0b453072d344e29cf934240b725221;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=fde75f89eae541144585db53ce3f7c29d069b4d2 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 ) {