Sha256: 179592bf76625d4ce67e5b5f2dcbf895dfabaf8c18f9a22ee43b3058bda2ce16

Contents?: true

Size: 1.45 KB

Versions: 20

Compression:

Stored size: 1.45 KB

Contents

/*
 * Copyright (C) 2008-2013 NEC Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */


#include <pthread.h>
#include "checks.h"


int
mock_pthread_mutex_init( pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr ) {
  UNUSED( mutex );
  UNUSED( mutexattr );
  return 0;
}


int
mock_pthread_mutexattr_init( pthread_mutexattr_t *attr ) {
  UNUSED( attr );
  return 0;
}


int
mock_pthread_mutexattr_settype( pthread_mutexattr_t *attr, int kind ) {
  UNUSED( attr );
  UNUSED( kind );
  return 0;
}


int
mock_pthread_mutex_lock( pthread_mutex_t *mutex ) {
  UNUSED( mutex );
  return 0;
}


int
mock_pthread_mutex_unlock( pthread_mutex_t *mutex ) {
  UNUSED( mutex );
  return 0;
}


int
mock_pthread_mutex_destroy( pthread_mutex_t *mutex ) {
  UNUSED( mutex );
  return 0;
}


/*
 * Local variables:
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * End:
 */

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
trema-0.4.7 unittests/buffer_stubs.c
trema-0.4.6 unittests/buffer_stubs.c
trema-0.4.5 unittests/buffer_stubs.c
trema-0.4.4 unittests/buffer_stubs.c
trema-0.4.3 unittests/buffer_stubs.c
trema-0.4.2 unittests/buffer_stubs.c
trema-0.4.1 unittests/buffer_stubs.c
trema-0.4.0 unittests/buffer_stubs.c
trema-0.3.21 unittests/buffer_stubs.c
trema-0.3.20 unittests/buffer_stubs.c
trema-0.3.19 unittests/buffer_stubs.c
trema-0.3.18 unittests/buffer_stubs.c
trema-0.3.17 unittests/buffer_stubs.c
trema-0.3.16 unittests/buffer_stubs.c
trema-0.3.15 unittests/buffer_stubs.c
trema-0.3.14 unittests/buffer_stubs.c
trema-0.3.13 unittests/buffer_stubs.c
trema-0.3.12 unittests/buffer_stubs.c
trema-0.3.11 unittests/buffer_stubs.c
trema-0.3.10 unittests/buffer_stubs.c