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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/fonts/SkFontMgr_indirect.cpp ('k') | src/ports/SkDiscardableMemory_none.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkDebug_stdio.cpp
diff --git a/src/ports/SkDebug_stdio.cpp b/src/ports/SkDebug_stdio.cpp
index 8ff27ade3ccf39e6411ed8c72ce94021637c1ff9..a093d0d16e25ab56f3e336d5b2eacabe90ac37d1 100644
--- a/src/ports/SkDebug_stdio.cpp
+++ b/src/ports/SkDebug_stdio.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2006 The Android Open Source Project
*
@@ -6,13 +5,12 @@
* found in the LICENSE file.
*/
-
#include "SkTypes.h"
#include <stdarg.h>
#include <stdio.h>
-void SkDebugf(const char format[], ...) {
+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
va_list args;
va_start(args, format);
vfprintf(stderr, format, args);
« 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