X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fcollectors.c;h=58d6abbc3fa666c5dead179904f40634c3f963c0;hb=4951ece66d368a97d740eb1a4cedd1dc84e3e7a1;hp=f0639836ef0d7a898f87581904178575c27064d6;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=openvswitch diff --git a/ofproto/collectors.c b/ofproto/collectors.c index f0639836..58d6abbc 100644 --- a/ofproto/collectors.c +++ b/ofproto/collectors.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. @@ -20,15 +20,16 @@ #include #include +#include #include #include "socket-util.h" #include "svec.h" #include "util.h" - -#define THIS_MODULE VLM_collectors #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(collectors); + struct collectors { int *fds; /* Sockets. */ size_t n_fds; /* Number of sockets. */