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

index 8d2393f52617440e0e9ae26390df021b7a0663a6..314288cfe4e5aea03281de034d431a4b59e3bfd5 100644 (file)
@@ -376,6 +376,7 @@ noinst_HEADERS = \
     sbr/mime_type.h \
     sbr/read_line.h \
     sbr/seq_add.h \
     sbr/mime_type.h \
     sbr/read_line.h \
     sbr/seq_add.h \
+    sbr/seq_del.h \
     sbr/seq_print.h \
     sbr/terminal.h \
     sbr/unquote.h \
     sbr/seq_print.h \
     sbr/terminal.h \
     sbr/unquote.h \
index 1e0d60a000c45fb8045c1863664e1a72c138b2a9..255f175833866985314e84f5b0f025b20b6ce762 100644 (file)
@@ -204,8 +204,6 @@ int remdir (char *);
 void scan_detect_mbox_style (FILE *);
 void scan_finished(void);
 char *seq_bits (struct msgs *);
 void scan_detect_mbox_style (FILE *);
 void scan_finished(void);
 char *seq_bits (struct msgs *);
-int seq_delmsg (struct msgs *, char *, int);
-int seq_delsel (struct msgs *, char *, int, int);
 int seq_getnum (struct msgs *, char *);
 char *seq_list (struct msgs *, char *);
 int seq_nameok (char *);
 int seq_getnum (struct msgs *, char *);
 char *seq_list (struct msgs *, char *);
 int seq_nameok (char *);
diff --git a/sbr/seq_del.h b/sbr/seq_del.h
new file mode 100644 (file)
index 0000000..97367b8
--- /dev/null
@@ -0,0 +1,8 @@
+/* seq_del.h -- delete message(s) from 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. */
+
+int seq_delmsg(struct msgs *, char *, int);
+int seq_delsel(struct msgs *, char *, int, int);
index 460f8cc97175cc3ed90f3ab77de9f6a2aaeeaf14..298f26371c6bc489fb16498c10567fac65264ad2 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "seq_del.h"
 #include "seq_add.h"
 #include "h/utils.h"
 
 #include "seq_add.h"
 #include "h/utils.h"
 
index 0b21fd836924f398ff4adaa800cb0cfd1d6b30e5..d2f90571ce7ebd55c01ca3db18a67e6f74b27f6e 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include "h/mh.h"
  */
 
 #include "h/mh.h"
+#include "sbr/seq_del.h"
 #include "sbr/seq_print.h"
 #include "sbr/seq_add.h"
 #include "sbr/error.h"
 #include "sbr/seq_print.h"
 #include "sbr/seq_add.h"
 #include "sbr/error.h"