diff options
Diffstat (limited to 'ports/unix/syncfs')
-rw-r--r-- | ports/unix/syncfs/guts/syncfs.c | 13 | ||||
-rw-r--r-- | ports/unix/syncfs/wrapfuncs.in | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/unix/syncfs/guts/syncfs.c b/ports/unix/syncfs/guts/syncfs.c new file mode 100644 index 0000000..2c9a685 --- /dev/null +++ b/ports/unix/syncfs/guts/syncfs.c @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2013 Wind River Systems; see + * guts/COPYRIGHT for information. + * + * int syncfs(int fd) + * int rc = -1; + */ + + rc = real_syncfs(fd); + +/* return rc; + * } + */ diff --git a/ports/unix/syncfs/wrapfuncs.in b/ports/unix/syncfs/wrapfuncs.in new file mode 100644 index 0000000..7b36542 --- /dev/null +++ b/ports/unix/syncfs/wrapfuncs.in @@ -0,0 +1,2 @@ +# Added around 2011 to glibc +int syncfs(int fd); /* async_skip=0 */ |