Changeset d88b0b78 in rtems


Ignore:
Timestamp:
Mar 12, 2015, 8:04:20 AM (4 years ago)
Author:
Daniel Cederman <cederman@…>
Branches:
4.11, master
Children:
b0f8bb4e
Parents:
bfe6391
git-author:
Daniel Cederman <cederman@…> (03/12/15 08:04:20)
git-committer:
Gedare Bloom <gedare@…> (03/12/15 14:02:33)
Message:

posix: Move function to file with matching name

mmap was previously in munmap.c and munmap was in mmap.c.

Location:
cpukit/posix/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mmap.c

    rbfe6391 rd88b0b78  
    1818#include <sys/mman.h>
    1919
    20 int munmap(
     20void *mmap(
    2121  void   *addr __attribute__((unused)),
    22   size_t  length __attribute__((unused))
     22  size_t  lenhth __attribute__((unused)),
     23  int     prot __attribute__((unused)),
     24  int     flags __attribute__((unused)),
     25  int     fildes __attribute__((unused)),
     26  off_t   off
    2327)
    2428{
    25   return -1;
     29  return NULL;
    2630}
  • cpukit/posix/src/munmap.c

    rbfe6391 rd88b0b78  
    1818#include <sys/mman.h>
    1919
    20 void *mmap(
     20int munmap(
    2121  void   *addr __attribute__((unused)),
    22   size_t  lenhth __attribute__((unused)),
    23   int     prot __attribute__((unused)),
    24   int     flags __attribute__((unused)),
    25   int     fildes __attribute__((unused)),
    26   off_t   off
     22  size_t  length __attribute__((unused))
    2723)
    2824{
    29   return NULL;
     25  return -1;
    3026}
Note: See TracChangeset for help on using the changeset viewer.