X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=ofproto%2Fcollectors.c;h=58d6abbc3fa666c5dead179904f40634c3f963c0;hb=d5f2379be2c4dad9a2fdda6ab28d30856aa782da;hp=f0639836ef0d7a898f87581904178575c27064d6;hpb=7e56c85c02c547deda93ec09a589eae7e253fc58;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. */