[disk][darwin][cgo] Rename C files dependencies to more descriptive names

pull/889/head
Lomanic 5 years ago
parent 42c6875555
commit 5aca383d4f

@ -7,7 +7,7 @@ package disk
#cgo LDFLAGS: -framework CoreFoundation -framework IOKit
#include <stdint.h>
#include <CoreFoundation/CoreFoundation.h>
#include "disk_darwin.h"
#include "iostat_darwin.h"
*/
import "C"

@ -1,7 +1,7 @@
// https://github.com/lufia/iostat/blob/9f7362b77ad333b26c01c99de52a11bdb650ded2/iostat_darwin.c
#include <stdint.h>
#include <CoreFoundation/CoreFoundation.h>
#include "disk_darwin.h"
#include "iostat_darwin.h"
#define IOKIT 1 /* to get io_name_t in device_types.h */
Loading…
Cancel
Save