Skip to content

Commit

Permalink
Changed placement of include files
Browse files Browse the repository at this point in the history
  • Loading branch information
g41797 authored and dennwc committed May 30, 2023
1 parent 14418eb commit 9e9544f
Show file tree
Hide file tree
Showing 46 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion libs/arpa_inet.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const (
arpaInetH = "arpa/inet.h"
)

//go:embed arpa_inet.h
//go:embed includes/arpa_inet.h
var harpaInet string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/glob.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
globH = "glob.h"
)

//go:embed glob.h
//go:embed includes/glob.h
var hglob string

func init() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/netdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
netdbH = "netdb.h"
)

//go:embed netdb.h
//go:embed includes/netdb.h
var hnetdb string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/pthread.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
pthreadH = "pthread.h"
)

//go:embed pthread.h
//go:embed includes/pthread.h
var hpthread string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/reglibs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
)

//go:embed includes/*
//go:embed includes/embed/*
var efs embed.FS

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/setjmp.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (
setjmpH = "setjmp.h"
)

//go:embed setjmp.h
//go:embed includes/setjmp.h
var hsetjmp string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/stdarg.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const (
StdargH = "stdarg.h"
)

//go:embed stdarg.h
//go:embed includes/stdarg.h
var hstdarg string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

const StdlibH = "stdlib.h"

//go:embed stdlib.h
//go:embed includes/stdlib.h
var hstdlib string

// https://pubs.opengroup.org/onlinepubs/9699919799/
Expand Down
2 changes: 1 addition & 1 deletion libs/string.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const (
stringH = "string.h"
)

//go:embed string.h
//go:embed includes/string.h
var hstring string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/sys_socket.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
sysSocketH = "sys/socket.h"
)

//go:embed sys_socket.h
//go:embed includes/sys_socket.h
var hsys_socket string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/sys_stat.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
sysStatH = "sys/stat.h"
)

//go:embed sys_stat.h
//go:embed includes/sys_stat.h
var hsys_stat string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/sys_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
sysTimeH = "sys/time.h"
)

//go:embed sys_time.h
//go:embed includes/sys_time.h
var hsys_time string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/sys_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
sysTypesH = "sys/types.h"
)

//go:embed sys_types.h
//go:embed includes/sys_types.h
var hsysTypes string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
timeH = "time.h"
)

//go:embed time.h
//go:embed includes/time.h
var htime string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/unistd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const (
unistdH = "unistd.h"
)

//go:embed unistd.h
//go:embed includes/unistd.h
var hunistd string

func init() {
Expand Down
2 changes: 1 addition & 1 deletion libs/wctype.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (
wctypeH = "wctype.h"
)

//go:embed wctype.h
//go:embed includes/wctype.h
var hwctype string

func init() {
Expand Down

0 comments on commit 9e9544f

Please sign in to comment.