Files
rtems/cpukit/libcsupport/src/flockfile.c
Sebastian Huber 80cf60efec Canonicalize config.h include
Use the following variant which was already used by most source files:

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif
2020-04-16 07:30:00 +02:00

32 lines
508 B
C

/**
* @file
*
* @brief Lock File for Stdio
* @ingroup SET
*/
/*
* 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.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE)
#include <stdio.h>
/**
* This is a non-functional stub
*/
void flockfile(FILE* file)
{
(void) file;
}
#endif