~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/app/bdsh/cmds/modules/pwd/pwd.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:
38
38
#include "cmds.h"
39
39
#include "pwd.h"
40
40
 
41
 
static char * cmdname = "pwd";
 
41
static const char *cmdname = "pwd";
42
42
 
43
43
void help_cmd_pwd(unsigned int level)
44
44
{