]> diplodocus.org Git - nmh/commitdiff
seq_bits.c: Move interface to own file.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 2 Nov 2017 22:37:16 +0000 (22:37 +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_bits.c
sbr/seq_bits.h [new file with mode: 0644]
uip/mark.c

index 13b6d66..e2e4f81 100644 (file)
@@ -376,6 +376,7 @@ noinst_HEADERS = \
     sbr/mime_type.h \
     sbr/read_line.h \
     sbr/seq_add.h \
+    sbr/seq_bits.h \
     sbr/seq_del.h \
     sbr/seq_getnum.h \
     sbr/seq_print.h \
index 3e7d897..910b62c 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);
-char *seq_bits (struct msgs *);
 char *seq_list (struct msgs *, char *);
 int seq_nameok (char *);
 
index 7fd1b0a..10f2acd 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include "h/mh.h"
+#include "seq_bits.h"
 
 
 char *
diff --git a/sbr/seq_bits.h b/sbr/seq_bits.h
new file mode 100644 (file)
index 0000000..fbd1ce7
--- /dev/null
@@ -0,0 +1,7 @@
+/* seq_bits.h -- return the snprintb() string for a sequence
+ *
+ * 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. */
+
+char *seq_bits(struct msgs *);
index d2f9057..eef5415 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include "h/mh.h"
+#include "sbr/seq_bits.h"
 #include "sbr/seq_del.h"
 #include "sbr/seq_print.h"
 #include "sbr/seq_add.h"