projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unneeded sbr code.
[mmh]
/
sbr
/
seq_getnum.c
diff --git
a/sbr/seq_getnum.c
b/sbr/seq_getnum.c
index
c44f177
..
c5ff8b4
100644
(file)
--- a/
sbr/seq_getnum.c
+++ b/
sbr/seq_getnum.c
@@
-1,9
+1,10
@@
-
/*
* seq_getnum.c -- find the index for a sequence
* -- return -1 if sequence doesn't exist
*
/*
* seq_getnum.c -- find the index for a sequence
* -- return -1 if sequence doesn't exist
*
- * $Id$
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-12,11
+13,11
@@
int
seq_getnum (struct msgs *mp, char *seqname)
{
int
seq_getnum (struct msgs *mp, char *seqname)
{
- int i;
+ int i;
- for (i = 0; mp->msgattrs[i]; i++)
- if (!strcmp (mp->msgattrs[i], seqname))
- return i;
+ for (i = 0; mp->msgattrs[i]; i++)
+ if (!strcmp (mp->msgattrs[i], seqname))
+ return i;
- return -1;
+ return -1;
}
}