~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to kernel/arch/ia32/src/mm/frame.c

  • Committer: Martin Decky
  • Date: 2010-02-25 19:11:25 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20100225191125-kbzwwihgu0uj0dss
make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
27
 */
28
28
 
29
 
/** @addtogroup ia32mm  
 
29
/** @addtogroup ia32mm
30
30
 * @{
31
31
 */
32
32
/** @file
108
108
        }
109
109
}
110
110
 
111
 
static char *e820names[] = {
 
111
static const char *e820names[] = {
112
112
        "invalid",
113
113
        "available",
114
114
        "reserved",
121
121
void physmem_print(void)
122
122
{
123
123
        unsigned int i;
124
 
        char *name;
 
124
        const char *name;
125
125
        
126
126
        printf("Base               Size               Name\n");
127
127
        printf("------------------ ------------------ ---------\n");