Changeset 167654e in rtems for cpukit


Ignore:
Timestamp:
Oct 18, 2018, 12:45:24 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6da1bb0
Parents:
f59edebf
git-author:
Sebastian Huber <sebastian.huber@…> (10/18/18 12:45:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/22/18 06:06:06)
Message:

Remove checks for flockfile(), etc. declarations

Declarations provided by Newlib since 2002.

Update #3409.

Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/configure.ac

    rf59edebf r167654e  
    7575AC_CHECK_FUNCS([execl execlp execle execv execvp execve])
    7676AC_CHECK_FUNCS([regcomp regexec regerror regfree])
    77 
    78 # Mandated by POSIX, decls not present in some versions of newlib
    79 AC_CHECK_DECLS([flockfile],[AC_CHECK_FUNCS([flockfile])],,[#include <stdio.h>])
    80 AC_CHECK_DECLS([funlockfile],[AC_CHECK_FUNCS([funlockfile])],,[#include <stdio.h>])
    81 AC_CHECK_DECLS([ftrylockfile],[AC_CHECK_FUNCS([ftrylockfile])],,[#include <stdio.h>])
    8277
    8378# Newlib proprietary
  • cpukit/libcsupport/src/flockfile.c

    rf59edebf r167654e  
    1717#endif
    1818
    19 #if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE) && defined(HAVE_DECL_FLOCKFILE)
     19#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE)
    2020
    2121#include <stdio.h>
  • cpukit/libcsupport/src/ftrylockfile.c

    rf59edebf r167654e  
    1111#endif
    1212
    13 #if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE) && defined(HAVE_DECL_FTRYLOCKFILE)
     13#if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE)
    1414
    1515#include <stdio.h>
  • cpukit/libcsupport/src/funlockfile.c

    rf59edebf r167654e  
    1818#endif
    1919
    20 #if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE) && defined(HAVE_DECL_FUNLOCKFILE)
     20#if defined(RTEMS_NEWLIB) && !defined(HAVE_FUNLOCKFILE)
    2121
    2222#include <stdio.h>
Note: See TracChangeset for help on using the changeset viewer.