~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to kernel/generic/src/sysinfo/sysinfo.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:
224
224
        while (root != NULL) {
225
225
                int i;
226
226
                unative_t val = 0;
227
 
                char *vtype = NULL;
 
227
                const char *vtype = NULL;
228
228
                
229
229
                
230
230
                for (i = 0; i < depth; i++)