source: rtems/cpukit/libcsupport/src/funlockfile.c @ 167654e

Last change on this file since 167654e was 167654e, checked in by Sebastian Huber <sebastian.huber@…>, on Oct 18, 2018 at 12:45:24 PM

Remove checks for flockfile(), etc. declarations

Declarations provided by Newlib since 2002.

Update #3409.

  • Property mode set to 100644
File size: 519 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Unlock File for Stdio
5 *  @ingroup libcsupport
6 */
7
8/*
9 * Copyright (c) 2009 by
10 * Ralf Corsépius, Ulm, Germany. All rights reserved.
11 *
12 * Permission to use, copy, modify, and distribute this software
13 * is freely granted, provided that this notice is preserved.
14 */
15
16#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE)
21
22#include <stdio.h>
23
24/**
25 * This is a non-functional stub
26 */
27void funlockfile(FILE* file)
28{
29  (void) file;
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.