diff options
Diffstat (limited to 'cpukit/libcsupport/src/flockfile.c')
-rw-r--r-- | cpukit/libcsupport/src/flockfile.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/flockfile.c b/cpukit/libcsupport/src/flockfile.c new file mode 100644 index 0000000000..db83961af1 --- /dev/null +++ b/cpukit/libcsupport/src/flockfile.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_FLOCKFILE) && defined(HAVE_DECL_FLOCKFILE) + +#include <stdio.h> + +/* This is a non-functional stub */ +void flockfile(FILE* file) +{ +} + +#endif |