>> +#include "defs.h"
>> +#include <ctype.h>
>> +#include "filter.h"
>> +
>> +#define DECL_FILTER(name) \
>> +extern void *
>> \
>> +parse_ ## name ## _filter(const char *); \
>> +extern bool \
>> +run_ ## name ## _filter(struct tcb *, void *);
>> \
>> +extern void \
>> +free_ ## name ## _filter(void *)
> Missing indentation of the macro definition.
>
>> +DECL_FILTER(syscall);
>> +DECL_FILTER(fd);
>> +#undef DECL_FILTER
>> +
>> +#define FILTER_TYPE(name) \
>> +{#name, parse_ ## name ## _filter, run_ ## name ## _filter, \
>> + free_ ## name ## _filter}
> Missing indentation of the macro definition.
>
>> +#include "defs.h"
>> +#include <ctype.h>
>> +#include "filter.h"
>> +
>> +#define DECL_FILTER_ACTION(name) \
>> +extern void \
>> +apply_ ## name(struct tcb *, void *)
> Missing indentation of the macro definition.
>
>> +DECL_FILTER_ACTION(trace);
>> +DECL_FILTER_ACTION(inject);
>> +DECL_FILTER_ACTION(fault);
>> +DECL_FILTER_ACTION(read);
>> +DECL_FILTER_ACTION(write);
>> +DECL_FILTER_ACTION(raw);
>> +DECL_FILTER_ACTION(abbrev);
>> +DECL_FILTER_ACTION(verbose);
>> +#undef DECL_FILTER_ACTION
>> +
>> +extern bool is_traced(struct tcb *);
>> +extern bool not_injected(struct tcb *);
>> +
>> +#define DECL_FILTER_ACTION_PARSER(name)
>> \
>> +extern void *
>> \
>> +parse_ ## name(const char *);
>> \
>> +extern void \
>> +free_ ## name(void *)
> Missing indentation of the macro definitions.
>
>> +DECL_FILTER_ACTION_PARSER(null);
>> +DECL_FILTER_ACTION_PARSER(inject);
>> +DECL_FILTER_ACTION_PARSER(fault);
>> +#undef DECL_FILTER_ACTION_PARSER
>> +
>> +#define FILTER_ACTION_TYPE(NAME, PRIORITY, PARSER, PREFILTER)
>> \
>> +{#NAME, PRIORITY, parse_ ## PARSER, free_ ## PARSER, PREFILTER, apply_ ##
>> NAME}
> Missing indentation of the macro definition.
What indentation should I use? I used DECL_* macros from defs.h as a
reference.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
