mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
23 lines
647 B
Go
23 lines
647 B
Go
// +build solaris,!cgo
|
|
|
|
//
|
|
// Implementing the functions below requires cgo support. Non-cgo stubs
|
|
// versions are defined below to enable cross-compilation of source code
|
|
// that depends on these functions, but the resultant cross-compiled
|
|
// binaries cannot actually be used. If the stub function(s) below are
|
|
// actually invoked they will cause the calling process to exit.
|
|
//
|
|
|
|
package devices
|
|
|
|
func getmajor(dev uint64) uint64 {
|
|
panic("getmajor() support requires cgo.")
|
|
}
|
|
|
|
func getminor(dev uint64) uint64 {
|
|
panic("getminor() support requires cgo.")
|
|
}
|
|
|
|
func makedev(major int, minor int) int {
|
|
panic("makedev() support requires cgo.")
|
|
}
|