lkml.org 
[lkml]   [2012]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 10/16] perf tools: Get rid of ctype.h in symbol.c
    Date
    From: Namhyung Kim <namhyung.kim@lge.com>

    The ctype.h in symbol.c was needed because of isupper(). However we now
    have it in util.h, it can be changed to use our implementation.

    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Namhyung Kim <namhyung@gmail.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1328836217-9118-3-git-send-email-namhyung.kim@lge.com
    Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    ---
    tools/perf/util/symbol.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
    index fc6e12f..5dd83c3 100644
    --- a/tools/perf/util/symbol.c
    +++ b/tools/perf/util/symbol.c
    @@ -1,4 +1,3 @@
    -#include <ctype.h>
    #include <dirent.h>
    #include <errno.h>
    #include <libgen.h>
    @@ -12,6 +11,7 @@
    #include <unistd.h>
    #include <inttypes.h>
    #include "build-id.h"
    +#include "util.h"
    #include "debug.h"
    #include "symbol.h"
    #include "strlist.h"
    --
    1.7.9.123.g65da0


    \
     
     \ /
      Last update: 2012-02-14 02:57    [W:2.662 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site