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 / proxyarp / proxyarp_ksyms.sh
bloba889f1db4c6e90c474c4ab935e5dbfe3c3545004
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$
20 cat <<EOF
21 #include <proxyarp/proxyarp.h>
22 EOF
24 for file in $* ; do
25 # ${NM} $file | sed -ne 's/[0-9A-Fa-f]* [DRT] \([^ ]*\)/EXPORT_SYMBOL(\1);/p'
26 ${NM} $file | grep -v [{init}{cleanup]_module | sed -ne 's/[0-9A-Fa-f]* [BDRT] \([^ ]*\)/EXPORT_SYMBOL(\1);/p'
27 done