diff options
author | Paul Gilliam <pgilliam@us.ibm.com> | 2006-03-13 18:43:13 +0100 |
---|---|---|
committer | Ian Wienand <ianw@debian.org> | 2006-03-13 18:43:13 +0100 |
commit | 24e643aceb96789baf3a6e2872807670f8dbf97a (patch) | |
tree | 291ce47519733fa1f11d429487a75fa779204d4e /options.h | |
parent | 6b38367e9846783b7d3f54dd0f8cc7386349c2fe (diff) | |
download | ltrace-24e643aceb96789baf3a6e2872807670f8dbf97a.tar.gz |
fix the -x processing to get rid of bad waring.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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); |