source: rtems/cpukit/libcsupport/src/flockfile.c @ da154e14

4.115
Last change on this file since da154e14 was ee89b319, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/06/11 at 13:39:12

2011-12-06 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c: Add attribute((unused)) to unused function parameters.
  • Property mode set to 100644
File size: 470 bytes
Line 
1/*
2 * Copyright (c) 2009 by
3 * Ralf Corsépius, Ulm, Germany. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software
6 * is freely granted, provided that this notice is preserved.
7 */
8
9#if HAVE_CONFIG_H
10#include "config.h"
11#endif
12
13#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE) && defined(HAVE_DECL_FLOCKFILE)
14
15#include <stdio.h>
16
17/* This is a non-functional stub */
18void flockfile(FILE* file __attribute__((unused)))
19{
20}
21
22#endif
Note: See TracBrowser for help on using the repository browser.