Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools subcmd: Rename subcmd header include guards

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/d8081e7528b25ad91f4154b6a3fd063e93c108ec.1450193761.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Josh Poimboeuf and committed by
Arnaldo Carvalho de Melo
1843b4e0 4b6ab94e

+22 -21
+3 -3
tools/lib/subcmd/exec-cmd.h
··· 1 - #ifndef __PERF_EXEC_CMD_H 2 - #define __PERF_EXEC_CMD_H 1 + #ifndef __SUBCMD_EXEC_CMD_H 2 + #define __SUBCMD_EXEC_CMD_H 3 3 4 4 extern void exec_cmd_init(const char *exec_name, const char *prefix, 5 5 const char *exec_path, const char *exec_path_env); ··· 13 13 extern char *get_argv_exec_path(void); 14 14 extern char *system_path(const char *path); 15 15 16 - #endif /* __PERF_EXEC_CMD_H */ 16 + #endif /* __SUBCMD_EXEC_CMD_H */
+3 -3
tools/lib/subcmd/help.h
··· 1 - #ifndef __PERF_HELP_H 2 - #define __PERF_HELP_H 1 + #ifndef __SUBCMD_HELP_H 2 + #define __SUBCMD_HELP_H 3 3 4 4 #include <sys/types.h> 5 5 ··· 31 31 void list_commands(const char *title, struct cmdnames *main_cmds, 32 32 struct cmdnames *other_cmds); 33 33 34 - #endif /* __PERF_HELP_H */ 34 + #endif /* __SUBCMD_HELP_H */
+3 -3
tools/lib/subcmd/pager.h
··· 1 - #ifndef __PERF_PAGER_H 2 - #define __PERF_PAGER_H 1 + #ifndef __SUBCMD_PAGER_H 2 + #define __SUBCMD_PAGER_H 3 3 4 4 extern void pager_init(const char *pager_env); 5 5 6 6 extern void setup_pager(void); 7 7 extern int pager_in_use(void); 8 8 9 - #endif /* __PERF_PAGER_H */ 9 + #endif /* __SUBCMD_PAGER_H */
+4 -3
tools/lib/subcmd/parse-options.h
··· 1 - #ifndef __PERF_PARSE_OPTIONS_H 2 - #define __PERF_PARSE_OPTIONS_H 1 + #ifndef __SUBCMD_PARSE_OPTIONS_H 2 + #define __SUBCMD_PARSE_OPTIONS_H 3 3 4 4 #include <stdbool.h> 5 5 #include <stdint.h> ··· 225 225 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag); 226 226 void set_option_nobuild(struct option *opts, int shortopt, const char *longopt, 227 227 const char *build_opt, bool can_skip); 228 - #endif /* __PERF_PARSE_OPTIONS_H */ 228 + 229 + #endif /* __SUBCMD_PARSE_OPTIONS_H */
+3 -3
tools/lib/subcmd/run-command.h
··· 1 - #ifndef __PERF_RUN_COMMAND_H 2 - #define __PERF_RUN_COMMAND_H 1 + #ifndef __SUBCMD_RUN_COMMAND_H 2 + #define __SUBCMD_RUN_COMMAND_H 3 3 4 4 #include <unistd.h> 5 5 ··· 57 57 #define RUN_COMMAND_STDOUT_TO_STDERR 4 58 58 int run_command_v_opt(const char **argv, int opt); 59 59 60 - #endif /* __PERF_RUN_COMMAND_H */ 60 + #endif /* __SUBCMD_RUN_COMMAND_H */
+3 -3
tools/lib/subcmd/sigchain.h
··· 1 - #ifndef __PERF_SIGCHAIN_H 2 - #define __PERF_SIGCHAIN_H 1 + #ifndef __SUBCMD_SIGCHAIN_H 2 + #define __SUBCMD_SIGCHAIN_H 3 3 4 4 typedef void (*sigchain_fun)(int); 5 5 ··· 7 7 8 8 void sigchain_push_common(sigchain_fun f); 9 9 10 - #endif /* __PERF_SIGCHAIN_H */ 10 + #endif /* __SUBCMD_SIGCHAIN_H */
+3 -3
tools/lib/subcmd/subcmd-util.h
··· 1 - #ifndef __PERF_SUBCMD_UTIL_H 2 - #define __PERF_SUBCMD_UTIL_H 1 + #ifndef __SUBCMD_UTIL_H 2 + #define __SUBCMD_UTIL_H 3 3 4 4 #include <stdarg.h> 5 5 #include <stdlib.h> ··· 88 88 return (unsigned char)*prefix - (unsigned char)*str; 89 89 } 90 90 91 - #endif /* __PERF_SUBCMD_UTIL_H */ 91 + #endif /* __SUBCMD_UTIL_H */