Example #1
0
/* Initialize library global state.  */
static void
init_library (void)
{
  static int initialized = 0;

  if (! initialized)
    {
      initialized = 1;

      /* Set up the trigraph map.  This doesn't need to do anything if
	 we were compiled with a compiler that supports C99 designated
	 initializers.  */
      init_trigraph_map ();
    }
}
Example #2
0
/* Initialize library global state.  */
static void
init_library (void)
{
    static int initialized = 0;

    if (! initialized)
    {
        initialized = 1;

        /* Set up the trigraph map.  This doesn't need to do anything if
        we were compiled with a compiler that supports C99 designated
         initializers.  */
        init_trigraph_map ();

#ifdef ENABLE_NLS
        (void) bindtextdomain (PACKAGE, LOCALEDIR);
#endif
    }
}