shared: fix typos

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
This commit is contained in:
Maxime Roussin-Bélanger 2020-12-17 17:08:07 -05:00
parent 4e8ea1f9d5
commit 5d10fe0264
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ os_ro_anonymous_file_size(struct ro_anonymous_file *file)
* The returned file descriptor must not be shared between multiple clients.
* When \p mapmode is RO_ANONYMOUS_FILE_MAPMODE_PRIVATE the file descriptor is
* only guaranteed to be mmapable with \c MAP_PRIVATE, when \p mapmode is
* RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmaped with
* RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmapped with
* either MAP_PRIVATE or MAP_SHARED.
* When you're done with the fd you must call \c os_ro_anonymous_file_put_fd
* instead of calling \c close.

View File

@ -210,7 +210,7 @@ typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy,
#else /* ENABLE_EGL */
/* EGL platform definition are keept to allow compositor-xx.c to build */
/* EGL platform definition are kept to allow compositor-xx.c to build */
#define EGL_PLATFORM_GBM_KHR 0x31D7
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
#define EGL_PLATFORM_X11_KHR 0x31D5