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

This commit is contained in:
Lomanic 2020-05-31 20:14:27 +02:00
parent 42c6875555
commit 5aca383d4f
3 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 */