[disk][darwin][cgo] Rename C files dependencies to more descriptive names
This commit is contained in:
parent
42c6875555
commit
5aca383d4f
|
@ -7,7 +7,7 @@ package disk
|
||||||
#cgo LDFLAGS: -framework CoreFoundation -framework IOKit
|
#cgo LDFLAGS: -framework CoreFoundation -framework IOKit
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
#include "disk_darwin.h"
|
#include "iostat_darwin.h"
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// https://github.com/lufia/iostat/blob/9f7362b77ad333b26c01c99de52a11bdb650ded2/iostat_darwin.c
|
// https://github.com/lufia/iostat/blob/9f7362b77ad333b26c01c99de52a11bdb650ded2/iostat_darwin.c
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <CoreFoundation/CoreFoundation.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 */
|
#define IOKIT 1 /* to get io_name_t in device_types.h */
|
||||||
|
|
Loading…
Reference in New Issue