Commit 62baca8a authored by Namhyung Kim's avatar Namhyung Kim Committed by Arnaldo Carvalho de Melo

perf tools: Get rid of redundant _FILE_OFFSET_BITS definition

We define it in the Makefile so no need to duplicate it.
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1363686376-29525-1-git-send-email-namhyung@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 0a119538
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
* (or a CPU, or a PID) into the perf.data output file - for * (or a CPU, or a PID) into the perf.data output file - for
* later analysis via perf report. * later analysis via perf report.
*/ */
#define _FILE_OFFSET_BITS 64
#include "builtin.h" #include "builtin.h"
#include "perf.h" #include "perf.h"
......
#define _FILE_OFFSET_BITS 64
#include "util.h" #include "util.h"
#include <sys/types.h> #include <sys/types.h>
#include <byteswap.h> #include <byteswap.h>
......
#define _FILE_OFFSET_BITS 64
#include <linux/kernel.h> #include <linux/kernel.h>
#include <byteswap.h> #include <byteswap.h>
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
* *
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/ */
#define _FILE_OFFSET_BITS 64
#include <dirent.h> #include <dirent.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#ifndef GIT_COMPAT_UTIL_H #ifndef GIT_COMPAT_UTIL_H
#define GIT_COMPAT_UTIL_H #define GIT_COMPAT_UTIL_H
#define _FILE_OFFSET_BITS 64
#ifndef FLEX_ARRAY #ifndef FLEX_ARRAY
/* /*
* See if our compiler is known to support flexible array members. * See if our compiler is known to support flexible array members.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment