X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsvec.c;h=d576c21d1e29addd55c4d565fc35eb982b112150;hb=ea83a2fcd0d31246ece7bdea4c54e162f432e81c;hp=bc3df23d511cb690f2b1d363b4fa859f3cb74b4c;hpb=02dd3123a0e312f1d33403e744af52dd6096f12d;p=sliver-openvswitch.git diff --git a/lib/svec.c b/lib/svec.c index bc3df23d5..d576c21d1 100644 --- a/lib/svec.c +++ b/lib/svec.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. @@ -22,10 +22,10 @@ #include #include "dynamic-string.h" #include "util.h" - -#define THIS_MODULE VLM_svec #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(svec); + void svec_init(struct svec *svec) { @@ -49,7 +49,7 @@ svec_destroy(struct svec *svec) } void -svec_clear(struct svec *svec) +svec_clear(struct svec *svec) { size_t i;