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