X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-hmap.c;h=18d8f461db7187bc505cbfb31ebe8461ac7dce81;hb=2da0385d1f57fe00977d2e58022b3f9a6604192e;hp=684a5bae2458c69a62d3e468b1cdf6587f4ff242;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/tests/test-hmap.c b/tests/test-hmap.c index 684a5bae..18d8f461 100644 --- a/tests/test-hmap.c +++ b/tests/test-hmap.c @@ -1,3 +1,19 @@ +/* + * 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. + * You may obtain a copy of the License at: + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* A non-exhaustive test for some of the functions and macros declared in * hmap.h. */ @@ -141,7 +157,7 @@ good_hash(int value) } static size_t -constant_hash(int value UNUSED) +constant_hash(int value OVS_UNUSED) { return 123; }