diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-01 04:19:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-01 04:19:00 +0000 |
commit | c7989fe7c1cedb24403747ed35aa772f29e59fd0 (patch) | |
tree | e5b8a5871adcb5ac60451b584a2c823f773c4e65 /cpukit/libcsupport/src/funlockfile.c | |
parent | 2010-04-30 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-c7989fe7c1cedb24403747ed35aa772f29e59fd0.tar.bz2 |
2010-05-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Add libcsupport/src/flockfile.c,
libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c.
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
libcsupport/src/funlockfile.c: New (stub functions).
Diffstat (limited to 'cpukit/libcsupport/src/funlockfile.c')
-rw-r--r-- | cpukit/libcsupport/src/funlockfile.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/funlockfile.c b/cpukit/libcsupport/src/funlockfile.c new file mode 100644 index 0000000000..a9f1bf3a92 --- /dev/null +++ b/cpukit/libcsupport/src/funlockfile.c @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2009 by + * Ralf Corsépius, Ulm, Germany. All rights reserved. + * + * Permission to use, copy, modify, and distribute this software + * is freely granted, provided that this notice is preserved. + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE) && defined(HAVE_DECL_FUNLOCKFILE) + +#include <stdio.h> + +/* This is a non-functional stub */ +void funlockfile(FILE* file) +{ +} + +#endif |