summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_completion_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/pp_completion_callback.h')
-rw-r--r--ppapi/c/pp_completion_callback.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/ppapi/c/pp_completion_callback.h b/ppapi/c/pp_completion_callback.h
index 8e148bc..ac9aa3f 100644
--- a/ppapi/c/pp_completion_callback.h
+++ b/ppapi/c/pp_completion_callback.h
@@ -1,7 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
+/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
#ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_
#define PPAPI_C_PP_COMPLETION_CALLBACK_H_
@@ -40,7 +40,9 @@ struct PP_CompletionCallback {
PP_INLINE struct PP_CompletionCallback PP_MakeCompletionCallback(
PP_CompletionCallback_Func func,
void* user_data) {
- struct PP_CompletionCallback cc = { func, user_data };
+ struct PP_CompletionCallback cc;
+ cc.func = func;
+ cc.user_data = user_data;
return cc;
}
@@ -62,4 +64,5 @@ PP_INLINE struct PP_CompletionCallback PP_BlockUntilComplete() {
* @}
* End of addtogroup PP
*/
-#endif // PPAPI_C_PP_COMPLETION_CALLBACK_H_
+#endif /* PPAPI_C_PP_COMPLETION_CALLBACK_H_ */
+