summaryrefslogtreecommitdiffstats
path: root/src/cmd/plumb/plumber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plumb/plumber.h')
-rw-r--r--src/cmd/plumb/plumber.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd/plumb/plumber.h b/src/cmd/plumb/plumber.h
index 44700559..65d5d0ac 100644
--- a/src/cmd/plumb/plumber.h
+++ b/src/cmd/plumb/plumber.h
@@ -52,10 +52,15 @@ struct Ruleset
char *port;
};
+enum
+{
+ NMATCHSUBEXP = 10
+};
+
struct Exec
{
Plumbmsg *msg;
- char *match[10];
+ char *match[NMATCHSUBEXP];
int p0; /* begin and end of match */
int p1;
int clearclick; /* click was expanded; remove attribute */