mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +00:00
Fix multiple definitions when building in FreeBSD
This commit is contained in:
parent
4793655974
commit
53af0f379f
@ -157,6 +157,10 @@ void *global_cpu = NULL;
|
||||
unsigned int max_text_width = 0;
|
||||
int ifup_strictness = IFUP_UP;
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
extern kvm_t *kd;
|
||||
#endif
|
||||
|
||||
int argc_copy;
|
||||
char** argv_copy;
|
||||
|
||||
|
@ -67,6 +67,8 @@
|
||||
#define FREEBSD_DEBUG
|
||||
#endif
|
||||
|
||||
kvm_t *kd;
|
||||
|
||||
__attribute__((gnu_inline)) inline void
|
||||
proc_find_top(struct process **cpu, struct process **mem);
|
||||
|
||||
|
@ -17,8 +17,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
kvm_t *kd;
|
||||
|
||||
int get_entropy_avail(unsigned int *);
|
||||
int get_entropy_poolsize(unsigned int *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user