summaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'libc/tools')
-rw-r--r--libc/tools/bionic_utils.py15
-rwxr-xr-xlibc/tools/gensyscalls.py6
2 files changed, 0 insertions, 21 deletions
diff --git a/libc/tools/bionic_utils.py b/libc/tools/bionic_utils.py
index abb7820..bbfff7d 100644
--- a/libc/tools/bionic_utils.py
+++ b/libc/tools/bionic_utils.py
@@ -302,17 +302,6 @@ class SysCallsTxtParser:
fp.close()
-class Output:
- def __init__(self,out=sys.stdout):
- self.out = out
-
- def write(self,msg):
- self.out.write(msg)
-
- def writeln(self,msg):
- self.out.write(msg)
- self.out.write("\n")
-
class StringOutput:
def __init__(self):
self.line = ""
@@ -321,10 +310,6 @@ class StringOutput:
self.line += msg
D2("write '%s'" % msg)
- def writeln(self,msg):
- self.line += msg + '\n'
- D2("write '%s\\n'"% msg)
-
def get(self):
return self.line
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 0226acd..a4e5679 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -533,12 +533,6 @@ class State:
D( "creating %s" % bionic_temp )
make_dir( bionic_temp )
-# D( "p4 editing source files" )
-# for arch in all_archs:
-# commands.getoutput( "p4 edit " + arch + "/syscalls/*.S " )
-# commands.getoutput( "p4 edit " + arch + "/syscalls.mk" )
-# commands.getoutput( "p4 edit " + bionic_root + "include/sys/linux-syscalls.h" )
-
D( "re-generating stubs and support files" )
self.gen_linux_syscalls_h()