summaryrefslogtreecommitdiff
path: root/tests/test-flows.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-09-03 11:30:02 -0700
committerBen Pfaff <blp@nicira.com>2010-10-11 13:31:43 -0700
commitae412e7dd89489911a32c6723d4109c6d1de3a38 (patch)
tree1aa64f35d115f7ae8c7cf925a0144d5acae28a8d /tests/test-flows.c
parent14608a1539b73f8f9812e0e791adb60825fee38b (diff)
downloadopenvswitch-ae412e7dd89489911a32c6723d4109c6d1de3a38.tar.gz
flow: Get rid of flow_t typedef.
When userspace and the kernel were using the same structure for flows, flow_t was a useful way to indicate that a structure was really a userspace flow instead of a kernel one, but now it's better to just write "struct flow" for consistency, since OVS doesn't use typedefs for structs elsewhere. Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'tests/test-flows.c')
-rw-r--r--tests/test-flows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-flows.c b/tests/test-flows.c
index 3d31aae16..a4649b3f8 100644
--- a/tests/test-flows.c
+++ b/tests/test-flows.c
@@ -54,7 +54,7 @@ main(int argc OVS_UNUSED, char *argv[])
while (fread(&expected_match, sizeof expected_match, 1, flows)) {
struct ofpbuf *packet;
struct ofp_match extracted_match;
- flow_t flow;
+ struct flow flow;
n++;