Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
trace: Remove unused functions
trace.c:1154: warning: ‘_has_font_face_id’ defined but not used
trace.c:1196: warning: ‘_get_pattern_id’ defined but not used
trace.c:1870: warning: ‘_emit_font_face’ defined but not used
trace.c:1882: warning: ‘_emit_scaled_font’ defined but not used
  • Loading branch information
Chris Wilson committed Apr 26, 2010
1 parent 3a2d9ff commit 36e0a3d
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions util/cairo-trace/trace.c
Expand Up @@ -1150,12 +1150,6 @@ _get_font_face_id (cairo_font_face_t *font_face)
return _get_id (FONT_FACE, font_face);
}

static bool
_has_font_face_id (cairo_font_face_t *font_face)
{
return _has_id (FONT_FACE, font_face);
}

static void
_emit_font_face_id (cairo_font_face_t *font_face)
{
Expand Down Expand Up @@ -1192,12 +1186,6 @@ _create_pattern_id (cairo_pattern_t *pattern)
return obj->token;
}

static long
_get_pattern_id (cairo_pattern_t *pattern)
{
return _get_id (PATTERN, pattern);
}

static void
_emit_pattern_id (cairo_pattern_t *pattern)
{
Expand Down Expand Up @@ -1866,24 +1854,12 @@ _emit_context (cairo_t *cr)
_emit_current (_get_object (CONTEXT, cr));
}

static void
_emit_font_face (cairo_font_face_t *font_face)
{
_emit_current (_get_object (FONT_FACE, font_face));
}

static void
_emit_pattern (cairo_pattern_t *pattern)
{
_emit_current (_get_object (PATTERN, pattern));
}

static void
_emit_scaled_font (cairo_scaled_font_t *scaled_font)
{
_emit_current (_get_object (SCALED_FONT, scaled_font));
}

static void
_emit_surface (cairo_surface_t *surface)
{
Expand Down

0 comments on commit 36e0a3d

Please sign in to comment.