summaryrefslogtreecommitdiff
path: root/gen-stubs.bash
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-10-31 08:33:00 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-10-31 08:33:00 +0200
commite73e63d4eb46b865b8565909b04ad2894bf027f8 (patch)
tree41f5400bf3ee396f9e929ee8e01ebe765dd85690 /gen-stubs.bash
parentc7e59084ac09028af7fd81c9fc40f9c55fb30857 (diff)
refactor project structure
libasound.c started to become quite large, split the big chunks into pcm.c and mixer.c
Diffstat (limited to 'gen-stubs.bash')
-rw-r--r--gen-stubs.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen-stubs.bash b/gen-stubs.bash
index cd5a6cb..0b9886b 100644
--- a/gen-stubs.bash
+++ b/gen-stubs.bash
@@ -76,5 +76,5 @@ preprocess()
cat include/alsa/*.h | preprocess | match | tr -d ';' | while read -r fun; do
name="$(fun_name_for "$fun")"
- grep -Fqs "$name(" libasound.c || printf '%s { WARNX1("stub"); %s }\n' "$fun" "$(return_for "$fun" "$name")"
+ grep -Fqs "$name(" src/{libasound,pcm,mixer}.c || printf '%s { WARNX1("stub"); %s }\n' "$fun" "$(return_for "$fun" "$name")"
done