aea4b876c8
* linux/syscall.h: Remove stray sys_swapon() declaration. * linux/mips/syscallent.h: Include dummy.h with correct relative path. * linux/dummy.h: Tweak one place where spaces are used instead of tabs. * linux/dummy_check.sh: New script. It helps in finding stray syscall handler declarations. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
7 lines
156 B
Bash
Executable File
7 lines
156 B
Bash
Executable File
#!/bin/sh
|
|
|
|
grep '^#define' dummy.h | cut -f2 | \
|
|
while read func; do
|
|
grep -q -F -- "${func}(" syscall.h && echo "Defined as macro and as func: $func"
|
|
done
|