Skip to content

Commit

Permalink
remove old style build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
warthog618 committed Jul 20, 2024
1 parent c4af6b5 commit 8fbd821
Show file tree
Hide file tree
Showing 27 changed files with 0 additions and 27 deletions.
1 change: 0 additions & 1 deletion examples/find_line_by_name/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that finds a line by name.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/get_chip_info/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that read the info for gpiochip0.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/get_line_info/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that read the info for line 22 on gpiochip0.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/get_line_value/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that reads an input pin.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/get_multiple_line_values/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that reads multiple input pins.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/readme/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A collection of code snippets contained in the READMEs.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/reconfigure_input_to_output/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that requests a line as an input and subsequently switches it to an output.
// DO NOT run this on a platform where that line is externally driven.
Expand Down
1 change: 0 additions & 1 deletion examples/select_watch_line_value/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that watches an input pin and reports edge events.
// This is a version of the watch_line_value example that performs the watching within
Expand Down
1 change: 0 additions & 1 deletion examples/toggle_line_value/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that toggles an output pin.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/toggle_multiple_line_values/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that toggles multiple output pins.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/watch_line_info/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that watches an input pin and reports edge events.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/watch_line_rising/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that watches an input pin and reports rising edge events.
package main
Expand Down
1 change: 0 additions & 1 deletion examples/watch_line_value/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// A simple example that watches an input pin and reports edge events.
package main
Expand Down
1 change: 0 additions & 1 deletion uapi/endian.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

// don't build on platforms with fixed endianness
//go:build !amd64 && !386
// +build !amd64,!386

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/endian_intel.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build 386 || amd64
// +build 386 amd64

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/eventdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux && !386
// +build linux,!386

// Package uapi provides the Linux GPIO UAPI definitions for gpiocdev.
package uapi
Expand Down
1 change: 0 additions & 1 deletion uapi/eventdata_386.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// Package uapi provides the Linux GPIO UAPI definitions for gpiocdev.
package uapi
Expand Down
1 change: 0 additions & 1 deletion uapi/ioctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/ioctl_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build arm || arm64 || 386 || amd64 || riscv64
// +build arm arm64 386 amd64 riscv64

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/ioctl_mips32.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build mips || mipsle || mips64 || mips64le || ppc64 || ppc64le || sparc || sparc64
// +build mips mipsle mips64 mips64le ppc64 ppc64le sparc sparc64

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/kernel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi_test

Expand Down
1 change: 0 additions & 1 deletion uapi/uapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

// Package uapi provides the Linux GPIO UAPI definitions for gpiocdev.
package uapi
Expand Down
1 change: 0 additions & 1 deletion uapi/uapi_bmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// Copyright © 2020 Kent Gibson <warthog618@gmail.com>.

//go:build linux
// +build linux

package uapi_test

Expand Down
1 change: 0 additions & 1 deletion uapi/uapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi_test

Expand Down
1 change: 0 additions & 1 deletion uapi/uapi_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi

Expand Down
1 change: 0 additions & 1 deletion uapi/uapi_v2_bmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi_test

Expand Down
1 change: 0 additions & 1 deletion uapi/uapi_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT

//go:build linux
// +build linux

package uapi_test

Expand Down

0 comments on commit 8fbd821

Please sign in to comment.