[COMMITTED] NaCl: Remove bogus O_SHLOCK, O_EXLOCK definitions.

Message ID 20150724193246.81C562C3B34@topped-with-meat.com
State Committed

Commit Message

Roland McGrath July 24, 2015, 7:32 p.m. UTC
  These obviously should never have been left in with XXX as their values.
I had left those placeholders because I thought I might figure out values
to use.  But there aren't any, and nothing really needs them.  So just
remove them.


2015-07-24  Roland McGrath  <roland@hack.frob.com>

	* sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.


diff --git a/sysdeps/nacl/bits/fcntl.h b/sysdeps/nacl/bits/fcntl.h
index ceef8df..89aab00 100644
--- a/sysdeps/nacl/bits/fcntl.h
+++ b/sysdeps/nacl/bits/fcntl.h
@@ -35,10 +35,6 @@ 
 #define O_ASYNC         020000  /* Send SIGIO to owner when data is ready.  */
 #define O_FSYNC         010000  /* Synchronous writes.  */
 #define O_SYNC          O_FSYNC
-#ifdef  __USE_MISC
-# define O_SHLOCK       XXX     /* Open with shared file lock.  */
-# define O_EXLOCK       XXX     /* Open with shared exclusive lock.  */
 #ifdef __USE_XOPEN2K8
 # define O_DIRECTORY    00200000        /* Must be a directory.  */
 # define O_NOFOLLOW     00400000        /* Do not follow links.  */