~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to src/genbuiltin

ImportĀ upstreamĀ versionĀ 4.81

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
for i in $*
 
4
do
 
5
        echo "extern struct bluetooth_plugin_desc __bluetooth_builtin_$i;"
 
6
done
 
7
 
 
8
echo
 
9
echo "static struct bluetooth_plugin_desc *__bluetooth_builtin[] = {"
 
10
 
 
11
for i in $*
 
12
do
 
13
        echo "  &__bluetooth_builtin_$i,"
 
14
done
 
15
 
 
16
echo "  NULL"
 
17
echo "};"