We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c382132 commit 13cb9daCopy full SHA for 13cb9da
tools/nr_from_src.py
@@ -44,6 +44,8 @@ def load_headers(names: Iterable[Tuple[str, str]], arch: str, extra: str = ''):
44
f.write('\n')
45
f.write('#include <asm/unistd.h>\n')
46
for prefix, name in names:
47
+ if prefix is None:
48
+ prefix = ''
49
f.write('gen_nr {prefix}{name} __{prefix}NR_{name}\n'.format(prefix=prefix, name=name))
50
f.flush()
51
lines = subprocess.check_output(['gcc', '-nostdinc',
0 commit comments