source: rtems/cpukit/libcsupport/src/assocnamebyremote.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 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: 487 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
17
18const char *rtems_assoc_name_by_remote(
19  const rtems_assoc_t *ap,
20  uint32_t             remote_value
21)
22{
23  const rtems_assoc_t *nap;
24  nap = rtems_assoc_ptr_by_remote(ap, remote_value);
25
26  if (nap)
27    return nap->name;
28
29  return rtems_assoc_name_bad(remote_value);
30}
31
Note: See TracBrowser for help on using the repository browser.