[cairo-path] Make _cairo_path_nil static.

_cairo_path_nil is only used within cairo-path.c, so there is no reason
to expose it to the rest of the libary.
This commit is contained in:
Chris Wilson 2007-10-30 10:58:16 +00:00
parent 6fdb7f129c
commit e57df31963
2 changed files with 1 additions and 3 deletions

View file

@ -39,8 +39,6 @@
#include "cairoint.h"
extern const cairo_private cairo_path_t _cairo_path_nil;
cairo_private cairo_path_t *
_cairo_path_create (cairo_path_fixed_t *path,
cairo_gstate_t *gstate);

View file

@ -39,7 +39,7 @@
#include "cairo-path-private.h"
#include "cairo-path-fixed-private.h"
const cairo_path_t _cairo_path_nil = { CAIRO_STATUS_NO_MEMORY, NULL, 0 };
static const cairo_path_t _cairo_path_nil = { CAIRO_STATUS_NO_MEMORY, NULL, 0 };
/* Closure for path interpretation. */
typedef struct cairo_path_count {