Changeset 7413


Ignore:
Timestamp:
05/04/18 18:33:37 (3 months ago)
Author:
baker
Message:

tweak the fix removal of const'ness from table of modules by lib_get_modules()

Location:
trunk/src/libsrc/lib330
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libsrc/lib330/libclient.c

    r7110 r7413  
    674674end 
    675675 
    676 /* typedef'd const */ tmodules modules = 
     676static /* typedef'd const */ tmodules modules = 
    677677   {{/*name*/"LibClient", /*ver*/VER_LIBCLIENT},     {/*name*/"LibStrucs", /*ver*/VER_LIBSTRUCS}, 
    678678    {/*name*/"LibTypes", /*ver*/VER_LIBTYPES},       {/*name*/"LibMsgs", /*ver*/VER_LIBMSGS}, 
     
    692692    {/*name*/"Q330Types", /*ver*/VER_Q330TYPES},     {/*name*/"Q330IO", /*ver*/VER_Q330IO}, 
    693693    {/*name*/"Q330Cvrt", /*ver*/VER_Q330CVRT},       {/*name*/"LibPOC", /*ver*/VER_LIBPOC}, 
    694     {/*name*/"", /*ver*/0}} ; 
     694    {/*name*/"", /*ver*/0}} ; /* Null name to indicate end of list */ 
    695695 
    696696pmodules lib_get_modules (void) 
  • trunk/src/libsrc/lib330/libclient.h

    r7110 r7413  
    402402  word buffer_counts[MAX_LCQ] ; /* pre-event buffers + 1 */ 
    403403} tdpcfg ; 
    404 typedef const struct { /* one module */ 
     404typedef struct { /* one module */ 
    405405  string15 name ; 
    406406  integer ver ; 
    407407} tmodule ; 
    408 typedef tmodule tmodules[MAX_MODULES] ; /* Null name to indicate end of list */ 
     408typedef const tmodule tmodules[MAX_MODULES] ; /* Null name to indicate end of list */ 
    409409typedef tmodules *pmodules ; 
    410410 
Note: See TracChangeset for help on using the changeset viewer.