]> pd.if.org Git - pdclib/blobdiff - functions/stdio/ftrylockfile.c
Comment reformatting for consistency.
[pdclib] / functions / stdio / ftrylockfile.c
index cb8147abd12b591b5a0f291c0dbe7c824c26ff24..a06dc57048a52944fdba54a9118988ede026f877 100644 (file)
@@ -1,4 +1,4 @@
-/* ftrylockfile(FILE * )\r
+/* ftrylockfile( FILE * )\r
 \r
    This file is part of the Public Domain C Library (PDCLib).\r
    Permission is granted to use, modify, and / or redistribute at will.\r
@@ -8,10 +8,11 @@
 #include <stdarg.h>\r
 \r
 #ifndef REGTEST\r
+#include <_PDCLIB_io.h>\r
 #include <threads.h>\r
 #include <stdlib.h>\r
 \r
-int ftrylockfile( FILE * file )\r
+int _PDCLIB_ftrylockfile( FILE * file )\r
 {\r
     int res = mtx_trylock( &file->lock );\r
     switch(res) {\r