/[m4]/m4/modules/shadow.c
ViewVC logotype

Diff of /m4/modules/shadow.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by akim, Tue Aug 7 10:41:11 2001 UTC revision 1.5 by gary, Thu Aug 16 22:21:30 2001 UTC
# Line 27  Line 27 
27    
28  #define m4_builtin_table        shadow_LTX_m4_builtin_table  #define m4_builtin_table        shadow_LTX_m4_builtin_table
29  #define m4_macro_table          shadow_LTX_m4_macro_table  #define m4_macro_table          shadow_LTX_m4_macro_table
 #define m4_init_module          shadow_LTX_m4_init_module  
   
 void m4_init_module M4_PARAMS((struct obstack *obs));  
30    
31  /*              function        macros  blind */  /*              function        macros  blind */
32  #define builtin_functions                       \  #define builtin_functions                       \
# Line 58  m4_macro m4_macro_table[] = Line 55  m4_macro m4_macro_table[] =
55    { 0,                  0 },    { 0,                  0 },
56  };  };
57    
58  void  
59  m4_init_module (struct obstack *obs)  
60    M4INIT_HANDLER (shadow)
61  {  {
62    char *s = "Shadow module loaded.";    const lt_dlinfo *info = 0;
63    if (obs != 0)    const char *s = "Shadow module loaded.";
64    
65      if (handle)
66        info = lt_dlgetinfo (handle);
67      
68      /* Only display the message on first load.  */
69      if (obs && info && (info->ref_count == 1))
70      obstack_grow (obs, s, strlen(s));      obstack_grow (obs, s, strlen(s));
71  }  }
72    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26