X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstream-fd.c;h=9410009c45221fd6a3336f0669552cf748610076;hb=142181fcd734a2afff9fe13e54fe51c7a2c824d2;hp=46aa8e7386cf5cdd934a237a01c859cc3572c578;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/lib/stream-fd.c b/lib/stream-fd.c index 46aa8e73..9410009c 100644 --- a/lib/stream-fd.c +++ b/lib/stream-fd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2010 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include "fatal-signal.h" @@ -30,9 +31,9 @@ #include "util.h" #include "stream-provider.h" #include "stream.h" - #include "vlog.h" -#define THIS_MODULE VLM_stream_fd + +VLOG_DEFINE_THIS_MODULE(stream_fd) /* Active file descriptor stream. */ @@ -139,6 +140,8 @@ static struct stream_class stream_fd_class = { fd_connect, /* connect */ fd_recv, /* recv */ fd_send, /* send */ + NULL, /* run */ + NULL, /* run_wait */ fd_wait, /* wait */ };