source: rtems/cpukit/itron/src/preq_sem.c @ f26145b

4.104.114.84.95
Last change on this file since f26145b was 7ded4e37, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/04 at 04:00:25

Remove unnecessary white spaces.

  • Property mode set to 100644
File size: 614 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-1999.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <rtems/itron.h>
17
18#include <rtems/itron/semaphore.h>
19#include <rtems/itron/task.h>
20#include <rtems/score/tod.h>
21
22/*
23 *  preq_sem - Poll and Request Semaphore
24 *
25 *  This function implements the ITRON 3.0 preq_sem() service.
26 */
27
28ER preq_sem(
29  ID semid
30)
31{
32  return twai_sem( semid, TMO_POL );
33}
Note: See TracBrowser for help on using the repository browser.