summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Tang2013-06-09 04:33:55 +0200
committerMichal Marek2013-07-03 14:30:40 +0200
commit04130cc973a96df33b1429024fd6dec59fa35a84 (patch)
treebf7d1df446dce7eba88285b6a918914a8ce0e65e /Makefile
parentimprove modalias building (diff)
downloadkernel-qcow2-linux-04130cc973a96df33b1429024fd6dec59fa35a84.tar.gz
kernel-qcow2-linux-04130cc973a96df33b1429024fd6dec59fa35a84.tar.xz
kernel-qcow2-linux-04130cc973a96df33b1429024fd6dec59fa35a84.zip
Fix a build warning in scripts/mod/file2alias.c
On some systems, __used is already defined in sys/cdefs.h and causes a build warning: scripts/mod/file2alias.c:85:1: warning: "__used" redefined In file included from /usr/include/stdio.h:64, from scripts/mod/modpost.h:1, from scripts/mod/file2alias.c:13: /usr/include/sys/cdefs.h:146:1: warning: this is the location of the previous definition This adds an extra check before defining the __used macro to see if the macro was already defined elsewhere. Signed-off-by: Daniel Tang <dt.tangr@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions