X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcompiler.h;h=6c0db0feaf5a240c1c490fcbf482a4350546bdeb;hb=5c9a0b820c1ff5b20f572198cda241d5cd557320;hp=216dd6af0685c3b5b1f1bfde16a778e5e26e755e;hpb=f85f8ebbfac946c19b3c6eb0f4170f579d0a4d25;p=openvswitch diff --git a/lib/compiler.h b/lib/compiler.h index 216dd6af..6c0db0fe 100644 --- a/lib/compiler.h +++ b/lib/compiler.h @@ -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. @@ -18,7 +18,7 @@ #define COMPILER_H 1 #define NO_RETURN __attribute__((__noreturn__)) -#define UNUSED __attribute__((__unused__)) +#define OVS_UNUSED __attribute__((__unused__)) #define PACKED __attribute__((__packed__)) #define PRINTF_FORMAT(FMT, ARG1) __attribute__((__format__(printf, FMT, ARG1))) #define STRFTIME_FORMAT(FMT) __attribute__((__format__(__strftime__, FMT, 0)))