version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_friend_c = | | * static char *rcsid_friend_c = |
* "$Id: friend.c,v 1.6 2002/07/15 04:25:39 mwedel Exp $"; | | * "$Id: friend.c,v 1.7 2005/10/18 16:54:30 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevDebug,"clean_friendly_list: Removed %d bogus links\n", count); | | LOG(llevDebug,"clean_friendly_list: Removed %d bogus links\n", count); |
} | | } |
| | |
| | /* Checks if the given object is already in the friendly list or not |
| | * Lauwenmark - 31/07/05 |
| | */ |
| | int is_friendly(object* op) |
| | { |
| | objectlink *ol; |
| | |
| | for(ol=first_friendly_object;ol!=NULL;ol=ol->next) |
| | if (ol->ob == op) |
| | return 1; |
| | |
| | return 0; |
| | } |
| | |