Skip to content

Commit

Permalink
[libcrystax] Add syscall.h
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Moskalchuk <dm@crystax.net>
  • Loading branch information
dmsck committed Jul 15, 2015
1 parent d8964cd commit 00ee2ea
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 335 deletions.
5 changes: 5 additions & 0 deletions sources/crystax/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ gen/
include/_ctype.h
include/bzlib.h
include/complex.h
include/crystax/bionic/
include/crystax/dlmalloc/
include/crystax/freebsd/
include/ctype.h
Expand Down Expand Up @@ -37,9 +38,13 @@ include/strings.h
include/sys/_null.h
include/sys/_stdint.h
include/sys/endian.h
include/sys/glibc-syscalls.h
include/sys/iconv.h
include/sys/limits.h
include/sys/stdint.h
include/sys/syscall.h
include/sys/sysconf.h
include/sys/sysinfo.h
include/sysexits.h
include/tar.h
include/tgmath.h
Expand Down
8 changes: 6 additions & 2 deletions sources/crystax/bin/gen-bionic-sources
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ g.fixup :redefine_fcntl64 do |f|
f.puts "#define __fcntl64 __bionic_fcntl"
end

# public headers
g.add "libc/include/sys/glibc-syscalls.h", public: true
g.add "libc/include/sys/syscall.h", public: true
g.add "libc/include/sys/sysconf.h", public: true
g.add "libc/include/sys/sysinfo.h", public: true

# common headers
g.add "libc/include/machine/posix_limits.h"
g.add "libc/include/sys/auxv.h"
Expand Down Expand Up @@ -172,8 +178,6 @@ g.add "libc/arch-x86/syscalls/__fcntl64.S", fixup: "redefine_fcntl64"
g.add "libc/arch-x86_64/syscalls/fcntl.S", fixup: "redefine_fcntl"

# sysconf
g.add "libc/include/sys/sysconf.h", public: true
g.add "libc/include/sys/sysinfo.h", public: true
g.add "libc/bionic/sysconf.cpp"
g.add "libc/bionic/sysinfo.cpp"

Expand Down

This file was deleted.

This file was deleted.

45 changes: 0 additions & 45 deletions sources/crystax/include/sys/sysconf.h

This file was deleted.

45 changes: 0 additions & 45 deletions sources/crystax/include/sys/sysinfo.h

This file was deleted.

0 comments on commit 00ee2ea

Please sign in to comment.