X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_int.h;h=0614deba1f32aaa7f350b958fe81badcc86f2c09;hb=d104aa65d95bffd22fc56b5a81bae508ee9da8c1;hp=d9e7f07508a5aac6b3cf2fe229149d360a1416ad;hpb=761281caf431d264d568aec797095ef2c28f3910;p=pdclib diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index d9e7f07..0614deb 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -344,7 +344,7 @@ struct _PDCLIB_status_t char * s; /* *sprintf(): target buffer */ /* *sscanf(): source string */ _PDCLIB_size_t width; /* specified field width */ - _PDCLIB_size_t prec; /* specified field precision */ + int prec; /* specified field precision */ struct _PDCLIB_file_t * stream; /* *fprintf() / *fscanf() stream */ _PDCLIB_va_list arg; /* argument stack */ }; @@ -404,6 +404,9 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream ); /* Closing all streams on program exit */ void _PDCLIB_closeall( void ); +/* Check if a given year is a leap year. Parameter is offset to 1900. */ +int _PDCLIB_is_leap( int year_offset ); + /* -------------------------------------------------------------------------- */ /* errno */ /* -------------------------------------------------------------------------- */