aboutsummaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2006-03-13 18:43:13 +0100
committerIan Wienand <ianw@debian.org>2006-03-13 18:43:13 +0100
commit24e643aceb96789baf3a6e2872807670f8dbf97a (patch)
tree291ce47519733fa1f11d429487a75fa779204d4e /options.h
parent6b38367e9846783b7d3f54dd0f8cc7386349c2fe (diff)
downloadltrace-24e643aceb96789baf3a6e2872807670f8dbf97a.tar.gz
fix the -x processing to get rid of bad waring.
Diffstat (limited to 'options.h')
-rw-r--r--options.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/options.h b/options.h
index a88630f..a188991 100644
--- a/options.h
+++ b/options.h
@@ -31,11 +31,17 @@ struct opt_e_t {
struct opt_e_t *next;
};
+struct opt_x_t {
+ char *name;
+ int found;
+ struct opt_x_t *next;
+};
+
extern struct opt_p_t *opt_p; /* attach to process with a given pid */
extern struct opt_e_t *opt_e; /* list of function names to display */
extern int opt_e_enable; /* 0 if '!' is used, 1 otherwise */
-extern struct opt_e_t *opt_x; /* list of functions to break at */
+extern struct opt_x_t *opt_x; /* list of functions to break at */
extern char **process_options(int argc, char **argv);