Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/ports/SkDebug_stdio.cpp

Issue 1207893002: Clean up a few includes, introduce iwyu. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Comments. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/fonts/SkFontMgr_indirect.cpp ('k') | src/ports/SkDiscardableMemory_none.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10 #include "SkTypes.h" 8 #include "SkTypes.h"
11 9
12 #include <stdarg.h> 10 #include <stdarg.h>
13 #include <stdio.h> 11 #include <stdio.h>
14 12
15 void SkDebugf(const char format[], ...) { 13 SK_API void SkDebugf(const char format[], ...) {
bungeman-skia 2015/06/25 15:11:34 This make iwyu happy, but definitions can't have t
bungeman-skia 2015/06/25 20:38:46 Forget what I said before, this makes iwyu happy b
bungeman-skia 2015/06/25 21:27:26 The compiler warning I was referring to turns out
16 va_list args; 14 va_list args;
17 va_start(args, format); 15 va_start(args, format);
18 vfprintf(stderr, format, args); 16 vfprintf(stderr, format, args);
19 va_end(args); 17 va_end(args);
20 } 18 }
OLDNEW
« no previous file with comments | « src/fonts/SkFontMgr_indirect.cpp ('k') | src/ports/SkDiscardableMemory_none.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698