mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-16 04:18:59 +00:00
2010-05-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Add libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c. * libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c: New (stub functions).
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2010-05-01 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/Makefile.am: Add libcsupport/src/flockfile.c,
|
||||
libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c.
|
||||
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
|
||||
libcsupport/src/funlockfile.c: New (stub functions).
|
||||
|
||||
2010-04-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libcsupport/include/rtems/libio_.h, libcsupport/src/envlock.c,
|
||||
|
||||
@@ -118,6 +118,8 @@ libcsupport_a_SOURCES += $(LIBC_GLUE_C_FILES) $(PASSWORD_GROUP_C_FILES) \
|
||||
$(DIRECTORY_SCAN_C_FILES) $(ID_C_FILES) src/envlock.c \
|
||||
$(TERMIOS_C_FILES) src/getpagesize.c src/getrusage.c
|
||||
|
||||
libcsupport_a_SOURCES += src/flockfile.c src/funlockfile.c src/ftrylockfile.c
|
||||
|
||||
EXTRA_DIST = src/TODO src/CASES src/README
|
||||
|
||||
include $(srcdir)/preinstall.am
|
||||
|
||||
22
cpukit/libcsupport/src/flockfile.c
Normal file
22
cpukit/libcsupport/src/flockfile.c
Normal file
@@ -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
|
||||
23
cpukit/libcsupport/src/ftrylockfile.c
Normal file
23
cpukit/libcsupport/src/ftrylockfile.c
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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_FTRYLOCKFILE) && defined(HAVE_DECL_FTRYLOCKFILE)
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* This is a non-functional stub */
|
||||
int ftrylockfile(FILE* file)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
#endif
|
||||
22
cpukit/libcsupport/src/funlockfile.c
Normal file
22
cpukit/libcsupport/src/funlockfile.c
Normal file
@@ -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_FUNLOCKFILE) && defined(HAVE_DECL_FUNLOCKFILE)
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* This is a non-functional stub */
|
||||
void funlockfile(FILE* file)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user