From: Ralph Corderoy Date: Thu, 2 Nov 2017 22:37:16 +0000 (+0000) Subject: seq_bits.c: Move interface to own file. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1d3b1bec14ae6bd849053c9746e7da552bf539fa?ds=sidebyside seq_bits.c: Move interface to own file. --- diff --git a/Makefile.am b/Makefile.am index 13b6d662..e2e4f81d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/h/prototypes.h b/h/prototypes.h index 3e7d8979..910b62cc 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -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 *); diff --git a/sbr/seq_bits.c b/sbr/seq_bits.c index 7fd1b0a5..10f2acd9 100644 --- a/sbr/seq_bits.c +++ b/sbr/seq_bits.c @@ -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 index 00000000..fbd1ce72 --- /dev/null +++ b/sbr/seq_bits.h @@ -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 *); diff --git a/uip/mark.c b/uip/mark.c index d2f90571..eef54156 100644 --- a/uip/mark.c +++ b/uip/mark.c @@ -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"