summaryrefslogtreecommitdiffstats
path: root/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
commit1ee7fc7a1a5125d12b15673fcee500df4bf6241b (patch)
tree810b11a0f6969a552c0a6be53e0a03129a2ed6a6 /compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
parente077269764568465a70f72a7ef21249e25f3afe0 (diff)
downloadbcm5719-llvm-1ee7fc7a1a5125d12b15673fcee500df4bf6241b.tar.gz
bcm5719-llvm-1ee7fc7a1a5125d12b15673fcee500df4bf6241b.zip
Fix typos
llvm-svn: 208841
Diffstat (limited to 'compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h')
-rw-r--r--compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h b/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
index b71706bf453..e121949a416 100644
--- a/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
+++ b/compiler-rt/SDKs/darwin/usr/include/sys/fcntl.h
@@ -26,7 +26,7 @@
# elif defined(__arm)
# define __OPEN_NAME "_open"
# else
-# error "unrecognized architecture for targetting OS X"
+# error "unrecognized architecture for targeting OS X"
# endif
#elif defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__)
# if defined(__i386) || defined (__x86_64)
@@ -34,10 +34,10 @@
# elif defined(__arm)
# define __OPEN_NAME "_open"
# else
-# error "unrecognized architecture for targetting iOS"
+# error "unrecognized architecture for targeting iOS"
# endif
#else
-# error "unrecognized architecture for targetting Darwin"
+# error "unrecognized architecture for targeting Darwin"
#endif
#define O_RDONLY 0x0000 /* open for reading only */
@@ -45,7 +45,7 @@
#define O_RDWR 0x0002 /* open for reading and writing */
#define O_ACCMODE 0x0003 /* mask for above modes */
-#define O_CREAT 0x0200 /* create if nonexistant */
+#define O_CREAT 0x0200 /* create if nonexistent */
int open(const char *, int, ...) __asm(__OPEN_NAME);
OpenPOWER on IntegriCloud