diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-03-05 15:59:43 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-03-05 15:59:43 -0500 |
commit | a487d094212d6bc4a06d5bfc774ba6d575165aa5 (patch) | |
tree | b10a5ec476dd5557850dbc97445bed12039a76c3 /src/cairo-os2-surface.c | |
parent | c8b84a4735c46a33620260de0618296df1e12574 (diff) | |
download | cairo-a487d094212d6bc4a06d5bfc774ba6d575165aa5.tar.gz |
Rename all mutex variables to start with an underscore
since they are not static in some of the implementations (win32, ...)
Diffstat (limited to 'src/cairo-os2-surface.c')
-rw-r--r-- | src/cairo-os2-surface.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/cairo-os2-surface.c b/src/cairo-os2-surface.c index 3d4636436..f6ec8f625 100644 --- a/src/cairo-os2-surface.c +++ b/src/cairo-os2-surface.c @@ -69,11 +69,11 @@ static int cairo_os2_initialization_count = 0; /* The mutex semaphores Cairo uses all around: */ -HMTX cairo_scaled_font_map_mutex = 0; +HMTX _cairo_scaled_font_map_mutex = 0; HMTX _global_image_glyph_cache_mutex = 0; -HMTX cairo_font_face_mutex = 0; +HMTX _cairo_font_face_mutex = 0; #ifdef CAIRO_HAS_FT_FONT -HMTX cairo_ft_unscaled_font_map_mutex = 0; +HMTX _cairo_ft_unscaled_font_map_mutex = 0; #endif static void inline @@ -106,13 +106,13 @@ cairo_os2_init (void) /* Create the mutex semaphores we'll use! */ /* cairo-font.c: */ - DosCreateMutexSem (NULL, &cairo_scaled_font_map_mutex, 0, FALSE); + DosCreateMutexSem (NULL, &_cairo_scaled_font_map_mutex, 0, FALSE); DosCreateMutexSem (NULL, &_global_image_glyph_cache_mutex, 0, FALSE); - DosCreateMutexSem (NULL, &cairo_font_face_mutex, 0, FALSE); + DosCreateMutexSem (NULL, &_cairo_font_face_mutex, 0, FALSE); #ifdef CAIRO_HAS_FT_FONT /* cairo-ft-font.c: */ - DosCreateMutexSem (NULL, &cairo_ft_unscaled_font_map_mutex, 0, FALSE); + DosCreateMutexSem (NULL, &_cairo_ft_unscaled_font_map_mutex, 0, FALSE); #endif /* Initialize FontConfig */ @@ -139,24 +139,24 @@ cairo_os2_fini (void) /* Destroy the mutex semaphores we've created! */ /* cairo-font.c: */ - if (cairo_scaled_font_map_mutex) { - DosCloseMutexSem (cairo_scaled_font_map_mutex); - cairo_scaled_font_map_mutex = 0; + if (_cairo_scaled_font_map_mutex) { + DosCloseMutexSem (_cairo_scaled_font_map_mutex); + _cairo_scaled_font_map_mutex = 0; } if (_global_image_glyph_cache_mutex) { DosCloseMutexSem (_global_image_glyph_cache_mutex); _global_image_glyph_cache_mutex = 0; } - if (cairo_font_face_mutex) { - DosCloseMutexSem (cairo_font_face_mutex); - cairo_font_face_mutex = 0; + if (_cairo_font_face_mutex) { + DosCloseMutexSem (_cairo_font_face_mutex); + _cairo_font_face_mutex = 0; } #ifdef CAIRO_HAS_FT_FONT /* cairo-ft-font.c: */ - if (cairo_ft_unscaled_font_map_mutex) { - DosCloseMutexSem (cairo_ft_unscaled_font_map_mutex); - cairo_ft_unscaled_font_map_mutex = 0; + if (_cairo_ft_unscaled_font_map_mutex) { + DosCloseMutexSem (_cairo_ft_unscaled_font_map_mutex); + _cairo_ft_unscaled_font_map_mutex = 0; } #endif |