~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/lib/libc/generic/thread.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:
85
85
 *
86
86
 * @return Zero on success or a code from @ref errno.h on failure.
87
87
 */
88
 
int thread_create(void (* function)(void *), void *arg, char *name,
 
88
int thread_create(void (* function)(void *), void *arg, const char *name,
89
89
    thread_id_t *tid)
90
90
{
91
91
        char *stack;