]> diplodocus.org Git - nmh/commitdiff
seq_nameok.c: Move interface to own file.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 22:56:32 +0000 (22:56 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 12 Nov 2017 12:25:25 +0000 (12:25 +0000)
Makefile.am
h/prototypes.h
sbr/seq_add.c
sbr/seq_del.c
sbr/seq_nameok.c
sbr/seq_nameok.h [new file with mode: 0644]
uip/pick.c

index 0b03fac72e1ab0ef6f9a1dec1be10de4e1d2b371..ab0bcd9dbd1cef87ae4e0f7c01433a3dc9e8932c 100644 (file)
@@ -380,6 +380,7 @@ noinst_HEADERS = \
     sbr/seq_del.h \
     sbr/seq_getnum.h \
     sbr/seq_list.h \
     sbr/seq_del.h \
     sbr/seq_getnum.h \
     sbr/seq_list.h \
+    sbr/seq_nameok.h \
     sbr/seq_print.h \
     sbr/terminal.h \
     sbr/unquote.h \
     sbr/seq_print.h \
     sbr/terminal.h \
     sbr/unquote.h \
index 4dd63f5c71f567a60c7b14364c8ccf76432c7604..6f79c6da59c14ef602578a00f99156657a23aefb 100644 (file)
@@ -203,7 +203,6 @@ void ruserpass (const char *host, char **aname, char **apass, int flags);
 int remdir (char *);
 void scan_detect_mbox_style (FILE *);
 void scan_finished(void);
 int remdir (char *);
 void scan_detect_mbox_style (FILE *);
 void scan_finished(void);
-int seq_nameok (char *);
 
 /*
  * Read the sequence files for the folder referenced in the given
 
 /*
  * Read the sequence files for the folder referenced in the given
index baeb305f014a52da88b633c5fa44532f1d8d3ca6..9c27f30270991c881ed717423f3cc1c8e716ea3d 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "seq_nameok.h"
 #include "seq_add.h"
 #include "error.h"
 
 #include "seq_add.h"
 #include "error.h"
 
index b4f5a527406b08339c5167ca95a394219a1fbe43..4abd745d2450e23cd85247497a914bad3b94a022 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "seq_nameok.h"
 #include "error.h"
 
 
 #include "error.h"
 
 
index f537a71f1aac53b56426adf358ca2909b7989d47..9333294dbb1a44dc2e7b767102458c8643bce482 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "seq_nameok.h"
 #include "error.h"
 
 
 #include "error.h"
 
 
diff --git a/sbr/seq_nameok.h b/sbr/seq_nameok.h
new file mode 100644 (file)
index 0000000..eda6c69
--- /dev/null
@@ -0,0 +1,7 @@
+/* seq_nameok.h -- check if a sequence name is ok
+ *
+ * This code is Copyright (c) 2017, by the authors of nmh.  See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information. */
+
+int seq_nameok(char *);
index b5a7cdd620dac3132167dad4f76fc17736c3b36e..21ae8b36f25382756042010d56ec4f78a22ba0d3 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "sbr/seq_nameok.h"
 #include "sbr/seq_add.h"
 #include "sbr/error.h"
 #include "h/tws.h"
 #include "sbr/seq_add.h"
 #include "sbr/error.h"
 #include "h/tws.h"