X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fovs-atomic-flag-gcc4.7%2B.h;h=49cd5d20fc885853b3c1a107303a497648055ead;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=385d0de92fe0677e6a875cd6b28f3c6e5d8983c0;hpb=4597d2a57226eaec787d6501e88ab32f3b6209e1;p=sliver-openvswitch.git diff --git a/lib/ovs-atomic-flag-gcc4.7+.h b/lib/ovs-atomic-flag-gcc4.7+.h index 385d0de92..49cd5d20f 100644 --- a/lib/ovs-atomic-flag-gcc4.7+.h +++ b/lib/ovs-atomic-flag-gcc4.7+.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Nicira, Inc. + * Copyright (c) 2013, 2014 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,18 +26,6 @@ typedef struct { } atomic_flag; #define ATOMIC_FLAG_INIT { .b = false } -static inline void -atomic_flag_init(volatile atomic_flag *object OVS_UNUSED) -{ - /* Nothing to do. */ -} - -static inline void -atomic_flag_destroy(volatile atomic_flag *object OVS_UNUSED) -{ - /* Nothing to do. */ -} - static inline bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order)