aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/c
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-07-31 15:16:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-31 15:16:23 -0700
commit80a1c54740c3e007e45fcd4cfa5ce1d2cf291ac5 (patch)
treeb1c59695ab3c27720b47f8d161f5e4426eac0793 /include/c
parentd164a710c7658ee5326f2b61bcb7cd91bb019592 (diff)
C API: remove dead code, simplify boilerplate
Diffstat (limited to 'include/c')
-rw-r--r--include/c/sk_surface.h5
-rw-r--r--include/c/sk_types.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/include/c/sk_surface.h b/include/c/sk_surface.h
index 76fc5b6a66..397dc833c2 100644
--- a/include/c/sk_surface.h
+++ b/include/c/sk_surface.h
@@ -31,11 +31,6 @@ sk_canvas_t* sk_surface_get_canvas(sk_surface_t*);
*/
sk_image_t* sk_surface_new_image_snapshot(sk_surface_t*);
-#ifdef __cplusplus
- class SkCanvas;
- void sk_test_capi(SkCanvas*);
-#endif
-
SK_C_PLUS_PLUS_END_GUARD
#endif
diff --git a/include/c/sk_types.h b/include/c/sk_types.h
index f517434764..87cc0555bd 100644
--- a/include/c/sk_types.h
+++ b/include/c/sk_types.h
@@ -142,11 +142,6 @@ typedef enum {
//////////////////////////////////////////////////////////////////////////////////////////
-#ifdef __cplusplus
- class SkCanvas;
- void sk_test_capi(SkCanvas*);
-#endif
-
SK_C_PLUS_PLUS_END_GUARD
#endif