Remove RCS keywords, since they no longer work after git migration.
[mmh] / sbr / seq_getnum.c
1
2 /*
3  * seq_getnum.c -- find the index for a sequence
4  *              -- return -1 if sequence doesn't exist
5  *
6  * This code is Copyright (c) 2002, by the authors of nmh.  See the
7  * COPYRIGHT file in the root directory of the nmh distribution for
8  * complete copyright information.
9  */
10
11 #include <h/mh.h>
12
13
14 int
15 seq_getnum (struct msgs *mp, char *seqname)
16 {
17     int i;
18
19     for (i = 0; mp->msgattrs[i]; i++)
20         if (!strcmp (mp->msgattrs[i], seqname))
21             return i;
22
23     return -1;
24 }