view osdep/mmap_anon.h @ 28319:0c7a9144e5f0

Fix a NULL-check that used && instead of || and thus could not avoid crashes. Patch by Luis Felipe Strano Moraes (luis strano gmail com).
author reimar
date Sun, 25 Jan 2009 18:23:05 +0000
parents 4129c8cfa742
children 5cfef41a1771
line wrap: on
line source

#ifndef MPLAYER_MMAP_ANON_H
#define MPLAYER_MMAP_ANON_H

#include <sys/types.h>

void *mmap_anon(void *, size_t, int, int, off_t);

#endif /* MPLAYER_MMAP_ANON_H */