Ignore:
Timestamp:
2013-10-16T16:09:14Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2923c7b
Parents:
c2a6983
Message:

Add not-implemented warnings to pthread functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/pthread/mutex.c

    rc2a6983 r12d6c98  
    3838#include "posix/pthread.h"
    3939#include "errno.h"
     40#include "../internal/common.h"
    4041
    4142
     
    4344    const pthread_mutexattr_t *restrict attr)
    4445{
     46        not_implemented();
    4547        return ENOTSUP;
    4648}
     
    4850int pthread_mutex_destroy(pthread_mutex_t *mutex)
    4951{
     52        not_implemented();
    5053        return ENOTSUP;
    5154}
     
    5356int pthread_mutex_lock(pthread_mutex_t *mutex)
    5457{
     58        not_implemented();
    5559        return ENOTSUP;
    5660}
     
    5862int pthread_mutex_trylock(pthread_mutex_t *mutex)
    5963{
     64        not_implemented();
    6065        return ENOTSUP;
    6166}
     
    6368int pthread_mutex_unlock(pthread_mutex_t *mutex)
    6469{
     70        not_implemented();
    6571        return ENOTSUP;
    6672}
     
    6874int pthread_mutexattr_init(pthread_mutexattr_t *attr)
    6975{
     76        not_implemented();
    7077        return ENOTSUP;
    7178}
     
    7380int pthread_mutexattr_destroy(pthread_mutexattr_t *attr)
    7481{
     82        not_implemented();
    7583        return ENOTSUP;
    7684}
     
    7987    int *restrict type)
    8088{
     89        not_implemented();
    8190        return ENOTSUP;
    8291}
     
    8493int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
    8594{
     95        not_implemented();
    8696        return ENOTSUP;
    8797}
Note: See TracChangeset for help on using the changeset viewer.