diff options
author | Yao Qi <yao@codesourcery.com> | 2012-07-31 07:12:28 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-07-31 07:12:28 +0000 |
commit | 1467929f3fc301abb4d9e0c1746952d078595adb (patch) | |
tree | d1fab5e6c81dcd9ba3058cd4c212ea124ade0e7a /gdb/tracepoint.c | |
parent | 70976b65519d4f91bb0345335d7419f2f69eec8c (diff) | |
download | gdb-1467929f3fc301abb4d9e0c1746952d078595adb.zip gdb-1467929f3fc301abb4d9e0c1746952d078595adb.tar.gz gdb-1467929f3fc301abb4d9e0c1746952d078595adb.tar.bz2 |
gdb/
* tracepoint.c: Add 'static' for some variables.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 8060971..e729d6d 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3613,17 +3613,17 @@ merge_uploaded_trace_state_variables (struct uploaded_tsv **uploaded_tsvs) /* target tfile command */ -struct target_ops tfile_ops; +static struct target_ops tfile_ops; /* Fill in tfile_ops with its defined operations and properties. */ #define TRACE_HEADER_SIZE 8 -char *trace_filename; -int trace_fd = -1; -off_t trace_frames_offset; -off_t cur_offset; -int cur_data_size; +static char *trace_filename; +static int trace_fd = -1; +static off_t trace_frames_offset; +static off_t cur_offset; +static int cur_data_size; int trace_regblock_size; static void tfile_interp_line (char *line, |