]> diplodocus.org Git - nmh/commitdiff
seq_print.c: Move interface to own file.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 18:19:59 +0000 (18:19 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 12 Nov 2017 12:25:24 +0000 (12:25 +0000)
Makefile.am
h/prototypes.h
sbr/seq_print.c
sbr/seq_print.h [new file with mode: 0644]
uip/mark.c

index 1bc9d76..8d2393f 100644 (file)
@@ -376,6 +376,7 @@ noinst_HEADERS = \
     sbr/mime_type.h \
     sbr/read_line.h \
     sbr/seq_add.h \
+    sbr/seq_print.h \
     sbr/terminal.h \
     sbr/unquote.h \
     thirdparty/jsmn/jsmn.h \
index 1507e20..1e0d60a 100644 (file)
@@ -209,8 +209,6 @@ int seq_delsel (struct msgs *, char *, int, int);
 int seq_getnum (struct msgs *, char *);
 char *seq_list (struct msgs *, char *);
 int seq_nameok (char *);
-void seq_print (struct msgs *, char *);
-void seq_printall (struct msgs *);
 
 /*
  * Read the sequence files for the folder referenced in the given
index a373d92..6139bc1 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
+#include "seq_print.h"
 
 /*
  * Print all the sequences in a folder
diff --git a/sbr/seq_print.h b/sbr/seq_print.h
new file mode 100644 (file)
index 0000000..adf1cfc
--- /dev/null
@@ -0,0 +1,8 @@
+/* seq_print.h -- Routines to print sequence information.
+ *
+ * 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. */
+
+void seq_printall(struct msgs *);
+void seq_print(struct msgs *, char *);
index 68ba9e3..0b21fd8 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include "h/mh.h"
+#include "sbr/seq_print.h"
 #include "sbr/seq_add.h"
 #include "sbr/error.h"
 #include "h/done.h"