source: rtems/cpukit/libcsupport/src/assocremotebylocal.c @ c499856

4.115
Last change on this file since c499856 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 449 bytes
Line 
1/*
2 * assoc.c
3 *      rtems assoc routines
4 */
5
6#if HAVE_CONFIG_H
7#include "config.h"
8#endif
9
10#define INSIDE_ASSOC
11
12#include <rtems.h>
13#include <rtems/assoc.h>
14
15#include <string.h>             /* strcat, strcmp */
16
17uint32_t rtems_assoc_remote_by_local(
18  const rtems_assoc_t *ap,
19  uint32_t       local_value
20)
21{
22  const rtems_assoc_t *nap;
23
24  nap = rtems_assoc_ptr_by_local(ap, local_value);
25  if (nap)
26    return nap->remote_value;
27
28  return 0;
29}
Note: See TracBrowser for help on using the repository browser.