diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/agl.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/agl.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Build/source/texk/dvipdfmx/src/agl.c b/Build/source/texk/dvipdfmx/src/agl.c index 0cbb262e63d..e3aee674752 100644 --- a/Build/source/texk/dvipdfmx/src/agl.c +++ b/Build/source/texk/dvipdfmx/src/agl.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/agl.c,v 1.33 2007/11/14 02:07:14 chofchof Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/agl.c,v 1.34 2009/09/18 23:56:02 matthias Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -364,10 +364,16 @@ agl_normalized_name (char *glyphname) static struct ht_table aglmap; +static void CDECL +hval_free (void *hval) +{ + agl_release_name((struct agl_name *) hval); +} + void agl_init_map (void) { - ht_init_table(&aglmap); + ht_init_table(&aglmap, hval_free); agl_load_listfile(AGL_EXTRA_LISTFILE, 0); if (agl_load_listfile(AGL_PREDEF_LISTFILE, 1) < 0) { WARN("Failed to load AGL file \"%s\"...", AGL_PREDEF_LISTFILE); @@ -377,16 +383,10 @@ agl_init_map (void) } } -static void CDECL -hval_free (void *hval) -{ - agl_release_name((struct agl_name *) hval); -} - void agl_close_map (void) { - ht_clear_table(&aglmap, hval_free); + ht_clear_table(&aglmap); } #define WBUF_SIZE 1024 |