Changeset 5566:c45e448eb830 in roaraudio


Ignore:
Timestamp:
07/16/12 12:18:20 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make static and constant table go into read only data memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r5414 r5566  
    573573 
    574574#ifdef ROAR_SUPPORT_LISTEN 
    575 static struct _listen_profile { 
     575static const struct _listen_profile { 
    576576 const char * name; 
    577577 int          type; 
     
    738738 
    739739void listen_listen_profiles (void) { 
    740  struct _listen_profile * p; 
     740 const struct _listen_profile * p; 
    741741 char * type; 
    742742 int i; 
     
    780780                        int * dir, struct roar_audio_info * info) { 
    781781 static char buf[1024]; 
    782  struct _listen_profile * p; 
     782 const struct _listen_profile * p; 
    783783 int i; 
    784784 
Note: See TracChangeset for help on using the changeset viewer.