1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Cleaned up the header files some more; the POSIX stdio thread locking functions

are now defined as empty macros unless __THREAD_SAFE is defined.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14847 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-02-28 13:42:54 +00:00
parent 9a8fe330a9
commit ef44c75126
4 changed files with 78 additions and 45 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio_ftrylockfile.c,v 1.2 2005-02-28 10:07:30 obarthel Exp $
* $Id: stdio_ftrylockfile.c,v 1.3 2005-02-28 13:42:52 obarthel Exp $
*
* :ts=4
*
@ -43,6 +43,10 @@
/****************************************************************************/
#if defined(__THREAD_SAFE)
/****************************************************************************/
int
ftrylockfile(FILE *stream)
{
@ -91,3 +95,7 @@ ftrylockfile(FILE *stream)
RETURN(result);
return(result);
}
/****************************************************************************/
#endif /* __THREAD_SAFE */