1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Add __BEGIN_DECLS and __END_DECLS to make libprocstat more C++-friendly.

Submitted by:	Daniel Dettlaff <dmilith gmail com>
MFC after:	1 week
This commit is contained in:
Mikolaj Golub 2012-09-04 05:51:50 +00:00
parent dac366886e
commit d1145837a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240080

View File

@ -144,6 +144,7 @@ struct sockstat {
STAILQ_HEAD(filestat_list, filestat);
__BEGIN_DECLS
void procstat_close(struct procstat *procstat);
void procstat_freeprocs(struct procstat *procstat, struct kinfo_proc *p);
void procstat_freefiles(struct procstat *procstat,
@ -164,5 +165,6 @@ int procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst,
struct vnstat *vn, char *errbuf);
struct procstat *procstat_open_sysctl(void);
struct procstat *procstat_open_kvm(const char *nlistf, const char *memf);
__END_DECLS
#endif /* !_LIBPROCSTAT_H_ */