GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / net / ctf / ctf_ksyms.sh
blob6e2b9e2527347f47438f09370ac2c0adccd83a82
1 #!/bin/sh
3 # Copyright (C) 2012, Broadcom Corporation. All Rights Reserved.
4 #
5 # Permission to use, copy, modify, and/or distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
8 #
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
12 # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
14 # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
15 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 # $Id: ctf_ksyms.sh,v 1.1 2009-10-27 01:27:44 $
20 cat <<EOF
21 #include <ctf/hndctf.h>
22 EOF
24 for file in $* ; do
25 ${NM} $file | sed -ne 's/[0-9A-Fa-f]* [DRT] \([^ ]*\)/EXPORT_SYMBOL(\1);/p'
26 done