Skip to content

Commit 830068b

Browse files
committed
Add missing cplusplus wrappers
1 parent 370e16f commit 830068b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

include/sys/statvfs.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
#ifndef _SYS_STATVFS_H
22
#define _SYS_STATVFS_H
33

4+
__BEGIN_DECLS
5+
46
#include <bits/statvfs.h>
57

68
int statvfs (const char *, struct statvfs *);
79
#if 0
810
int fstatvfs (int, struct statvfs *);
911
#endif
1012

13+
__END_DECLS
14+
1115
#endif

include/sys/timeb.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
# include <features.h>
2424
#endif
2525

26+
__BEGIN_DECLS
27+
2628
/* Structure returned by the `ftime' function. */
2729

2830
struct timeb {
@@ -35,4 +37,6 @@ struct timeb {
3537
/* For compatibility reasons. Actually obsoleted by gettimeofday(). */
3638
extern int ftime (struct timeb *__timebuf) __THROW;
3739

40+
__END_DECLS
41+
3842
#endif /* _SYS_TIMEB_h */

0 commit comments

Comments
 (0)