Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1843b4e0 authored by Josh Poimboeuf's avatar Josh Poimboeuf Committed by Arnaldo Carvalho de Melo
Browse files

tools subcmd: Rename subcmd header include guards



Signed-off-by: default avatarJosh 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 4b6ab94e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
#ifndef __PERF_EXEC_CMD_H
#define __PERF_EXEC_CMD_H
#ifndef __SUBCMD_EXEC_CMD_H
#define __SUBCMD_EXEC_CMD_H

extern void exec_cmd_init(const char *exec_name, const char *prefix,
			  const char *exec_path, const char *exec_path_env);
@@ -13,4 +13,4 @@ extern int execl_cmd(const char *cmd, ...);
extern char *get_argv_exec_path(void);
extern char *system_path(const char *path);

#endif /* __PERF_EXEC_CMD_H */
#endif /* __SUBCMD_EXEC_CMD_H */
+3 −3
Original line number Diff line number Diff line
#ifndef __PERF_HELP_H
#define __PERF_HELP_H
#ifndef __SUBCMD_HELP_H
#define __SUBCMD_HELP_H

#include <sys/types.h>

@@ -31,4 +31,4 @@ int is_in_cmdlist(struct cmdnames *c, const char *s);
void list_commands(const char *title, struct cmdnames *main_cmds,
		   struct cmdnames *other_cmds);

#endif /* __PERF_HELP_H */
#endif /* __SUBCMD_HELP_H */
+3 −3
Original line number Diff line number Diff line
#ifndef __PERF_PAGER_H
#define __PERF_PAGER_H
#ifndef __SUBCMD_PAGER_H
#define __SUBCMD_PAGER_H

extern void pager_init(const char *pager_env);

extern void setup_pager(void);
extern int pager_in_use(void);

#endif /* __PERF_PAGER_H */
#endif /* __SUBCMD_PAGER_H */
+4 −3
Original line number Diff line number Diff line
#ifndef __PERF_PARSE_OPTIONS_H
#define __PERF_PARSE_OPTIONS_H
#ifndef __SUBCMD_PARSE_OPTIONS_H
#define __SUBCMD_PARSE_OPTIONS_H

#include <stdbool.h>
#include <stdint.h>
@@ -225,4 +225,5 @@ extern const char *parse_options_fix_filename(const char *prefix, const char *fi
void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);
void set_option_nobuild(struct option *opts, int shortopt, const char *longopt,
			const char *build_opt, bool can_skip);
#endif /* __PERF_PARSE_OPTIONS_H */

#endif /* __SUBCMD_PARSE_OPTIONS_H */
+3 −3
Original line number Diff line number Diff line
#ifndef __PERF_RUN_COMMAND_H
#define __PERF_RUN_COMMAND_H
#ifndef __SUBCMD_RUN_COMMAND_H
#define __SUBCMD_RUN_COMMAND_H

#include <unistd.h>

@@ -57,4 +57,4 @@ int run_command(struct child_process *);
#define RUN_COMMAND_STDOUT_TO_STDERR 4
int run_command_v_opt(const char **argv, int opt);

#endif /* __PERF_RUN_COMMAND_H */
#endif /* __SUBCMD_RUN_COMMAND_H */
Loading