Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Commit

Permalink
Fix C import; Closes #71
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbassi committed Dec 4, 2018
1 parent e596d52 commit a2d80c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/widgets/temp_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ package widgets

// #cgo LDFLAGS: -framework IOKit
// #include "include/smc.c"
import (
"C"

"github.com/cjbassi/gotop/src/utils"
)
import "C"
import "github.com/cjbassi/gotop/src/utils"

type TemperatureStat struct {
SensorKey string `json:"sensorKey"`
Expand Down

0 comments on commit a2d80c8

Please sign in to comment.