Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/untrusted/nosys/fsync.c

Issue 22923022: Make libnosys function stubs part of libnacl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Code review feedback Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/nosys/fork.c ('k') | src/untrusted/nosys/ftruncate.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nosys/fsync.c
diff --git a/src/untrusted/nosys/fsync.c b/src/untrusted/nosys/fsync.c
deleted file mode 100644
index c63afd832d44afe40f44996544a294e22421ae8c..0000000000000000000000000000000000000000
--- a/src/untrusted/nosys/fsync.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2013 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include <errno.h>
-#include <unistd.h>
-
-int fsync(int fd) {
- errno = ENOSYS;
- return -1;
-}
-
-#include "native_client/src/untrusted/nosys/warning.h"
-stub_warning(fsync);
« no previous file with comments | « src/untrusted/nosys/fork.c ('k') | src/untrusted/nosys/ftruncate.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698