X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fsys%2Ftimes.h;h=80a50522d75d9705972b4a4b5898fee51edc30ae;hb=93b5f6c84356558bab965cc2f09d7c7c0dcb9beb;hp=aca743d3e4e73276b0530f43b384ce71f26e3edc;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/include/sys/times.h b/include/sys/times.h index aca743d3..80a50522 100644 --- a/include/sys/times.h +++ b/include/sys/times.h @@ -1,11 +1,14 @@ #ifndef _SYS_TIMES_H #define _SYS_TIMES_H +#ifdef __cplusplus +extern "C" { +#endif + #define __NEED_clock_t #include -struct tms -{ +struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; @@ -14,4 +17,9 @@ struct tms clock_t times (struct tms *); +#ifdef __cplusplus +} #endif + +#endif +