]> granicus.if.org Git - libvpx/commitdiff
clang-format v5.0.0 vpx_util/vpx_atomic.h
authorJohann <johannkoenig@google.com>
Thu, 11 Jan 2018 23:17:29 +0000 (15:17 -0800)
committerJohann <johannkoenig@google.com>
Fri, 12 Jan 2018 17:15:19 +0000 (09:15 -0800)
Allow*OnASingleLine appears to no longer apply to
typedef structs.

Change-Id: If10db1c30c74ee31dad1a0b1926964e850f15fd2

vpx_util/vpx_atomics.h

index b8cf80daeb5295988ec139249acccdca6cf8162c..50469106565ee1692c439d227b5a5d491a60264f 100644 (file)
@@ -68,7 +68,9 @@ extern "C" {
 // on any platform (to discourage programmer errors by setting values directly).
 // This primitive MUST be initialized using vpx_atomic_init or VPX_ATOMIC_INIT
 // (NOT memset) and accessed through vpx_atomic_ functions.
-typedef struct vpx_atomic_int { volatile int value; } vpx_atomic_int;
+typedef struct vpx_atomic_int {
+  volatile int value;
+} vpx_atomic_int;
 
 #define VPX_ATOMIC_INIT(num) \
   { num }