mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
unix: make Nfgenmsg a type definition
CL 114518 introduced Nfgenmsg as a type alias which breaks the build on Go <= 1.9. Fix it by making Nfgenmsg a type like all others in x/sys/unix Updates golang/go#25561 Fixes golang/go#25563 Change-Id: I9950be857e34e7e3ca79c71fced9663a0cac9b63 Reviewed-on: https://go-review.googlesource.com/114596 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
31355384c8
commit
d4cedef346
@@ -1055,7 +1055,7 @@ const (
|
||||
)
|
||||
|
||||
// netfilter nfnetlink
|
||||
type Nfgenmsg = C.struct_nfgenmsg
|
||||
type Nfgenmsg C.struct_nfgenmsg
|
||||
|
||||
const (
|
||||
NFNL_BATCH_UNSPEC = C.NFNL_BATCH_UNSPEC
|
||||
|
||||
@@ -1382,7 +1382,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1402,7 +1402,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1371,7 +1371,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1381,7 +1381,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1376,7 +1376,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1383,7 +1383,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1383,7 +1383,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1376,7 +1376,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1391,7 +1391,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1391,7 +1391,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
@@ -1408,7 +1408,7 @@ const (
|
||||
NFPROTO_NUMPROTO = 0xd
|
||||
)
|
||||
|
||||
type Nfgenmsg = struct {
|
||||
type Nfgenmsg struct {
|
||||
Nfgen_family uint8
|
||||
Version uint8
|
||||
Res_id uint16
|
||||
|
||||
Reference in New Issue
Block a user