From: Ralph Corderoy Date: Sun, 12 Nov 2017 18:50:32 +0000 (+0000) Subject: picksbr.h: Rename to be alongside implementation. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/0de0188c61bc3655e61d13e7f70c59f00e5203c8?hp=4fc4c15e6b9c39af3bf5367efeb2412c1267169a picksbr.h: Rename to be alongside implementation. --- diff --git a/Makefile.am b/Makefile.am index fbce3f5e..45d591a6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -353,7 +353,6 @@ noinst_HEADERS = \ h/netsec.h \ h/nmh.h \ h/oauth.h \ - h/picksbr.h \ h/popsbr.h \ h/prototypes.h \ h/rcvmail.h \ @@ -463,6 +462,7 @@ noinst_HEADERS = \ uip/mhmisc.h \ uip/mhoutsbr.h \ uip/mhshowsbr.h \ + uip/picksbr.h \ uip/replsbr.h \ uip/scansbr.h \ uip/sendsbr.h \ diff --git a/h/picksbr.h b/h/picksbr.h deleted file mode 100644 index 49006422..00000000 --- a/h/picksbr.h +++ /dev/null @@ -1,8 +0,0 @@ -/* picksbr.h -- definitions for picksbr.c - */ - -/* - * prototypes - */ -int pcompile (char **, char *); -int pmatches (FILE *, int, long, long, int); diff --git a/uip/pick.c b/uip/pick.c index 9abb8266..40346d1a 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -6,6 +6,7 @@ */ #include "h/mh.h" +#include "picksbr.h" #include "sbr/m_name.h" #include "sbr/getarguments.h" #include "sbr/seq_setprev.h" @@ -26,7 +27,6 @@ #include "sbr/seq_add.h" #include "sbr/error.h" #include "h/tws.h" -#include "h/picksbr.h" #include "h/done.h" #include "h/utils.h" #include "sbr/m_maildir.h" diff --git a/uip/picksbr.c b/uip/picksbr.c index a2a8a79f..c11fba62 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -6,6 +6,7 @@ */ #include "h/mh.h" +#include "picksbr.h" #include "sbr/dtime.h" #include "sbr/dtime.h" #include "sbr/m_getfld.h" @@ -15,7 +16,6 @@ #include "sbr/ambigsw.h" #include "sbr/error.h" #include "h/tws.h" -#include "h/picksbr.h" #include "h/utils.h" #ifdef HAVE_SYS_TIME_H diff --git a/uip/picksbr.h b/uip/picksbr.h new file mode 100644 index 00000000..e2d0f96a --- /dev/null +++ b/uip/picksbr.h @@ -0,0 +1,8 @@ +/* picksbr.h -- routines to help pick along... + * + * 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 pcompile(char **, char *); +int pmatches(FILE *, int, long, long, int);