Ignore:
Timestamp:
Aug 25, 2018, 6:29:34 PM (3 years ago)
Author:
viala@…
Message:

[syscalls] add interface in implementation.

Add const where possible, fix protoypes to follow interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_open.c

    r459 r506  
    3333#include <remote_rwlock.h>
    3434
     35#include <syscalls.h>
     36
    3537///////////////////////////////////
    36 int sys_open ( char    * pathname,
    37                uint32_t   flags,
    38                uint32_t   mode )
     38int sys_open ( const char * pathname,
     39               uint32_t     flags,
     40               uint32_t     mode )
    3941{
    4042    error_t        error;
Note: See TracChangeset for help on using the changeset viewer.