linux/tools/include/linux
Jiri Olsa 45633a1695 tools: Fix shadowed declaration in err.h
The error variable breaks build on CentOS 6.7, due to collision with
global error symbol:

    CC       util/evlist.o
  cc1: warnings being treated as errors
  In file included from util/evlist.c:28:
  tools/include/linux/err.h: In function ‘ERR_PTR’:
  tools/include/linux/err.h:34: error: declaration of ‘error’ shadows a global declaration
  util/util.h:135: error: shadowed declaration is here

Using 'error_' name instead to fix it.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/n/tip-i9mdgdbrgauy3fe76s9rd125@git.kernel.org
Reported-by: Vinson Lee <vlee@twopensource.com>
[ Use 'error_' instead of 'err' to, visually, not diverge too much from include/linux/err.h ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-09-30 18:34:22 -03:00
..
atomic.h tools include: Add basic atomic.h implementation from the kernel sources 2015-05-08 16:11:05 -03:00
bitops.h tools: Remove bitops/hweight usage of bits in tools/perf 2015-01-16 17:49:29 -03:00
compiler.h tools: Adopt {READ,WRITE_ONCE} from the kernel 2015-07-05 15:05:00 -03:00
err.h tools: Fix shadowed declaration in err.h 2015-09-30 18:34:22 -03:00
export.h tools: Restore export.h 2015-08-25 09:44:22 +02:00
filter.h perf tools: Copy linux/filter.h to tools/include 2015-09-02 16:30:46 -03:00
hash.h perf tools: Move hash.h header 2014-02-18 09:34:49 -03:00
kernel.h perf tools: Move linux/kernel.h to tools/include 2015-06-02 15:27:04 -03:00
list.h tools: Move tools/perf/util/include/linux/{list.h,poison.h} to tools/include 2015-06-02 19:07:29 -03:00
log2.h tools: Adopt roundup_pow_of_two 2014-12-17 11:58:15 -03:00
poison.h tools: Move tools/perf/util/include/linux/{list.h,poison.h} to tools/include 2015-06-02 19:07:29 -03:00
rbtree_augmented.h tools: Copy rbtree_augmented.h from the kernel 2015-07-05 22:59:05 -03:00
rbtree.h tools: Move rbtree.h from tools/perf/ 2015-07-05 22:54:01 -03:00
types.h tools include: add __aligned_u64 to types.h. 2015-05-18 10:17:32 -03:00