]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_scan.c
m_backup.c: Move interface to own file.
[nmh] / sbr / fmt_scan.c
index 3c93a5a70b856f7564e86306fa518cdb0b40d7fe..1d8dd29c9ffa5621394b5b52b76ceffd156827d0 100644 (file)
@@ -8,12 +8,14 @@
  * fmt_compile (found in fmt_compile.c).
  */
 
  * fmt_compile (found in fmt_compile.c).
  */
 
-#include <h/mh.h>
-#include <h/addrsbr.h>
-#include <h/fmt_scan.h>
-#include <h/tws.h>
-#include <h/fmt_compile.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "context_find.h"
+#include "error.h"
+#include "h/addrsbr.h"
+#include "h/fmt_scan.h"
+#include "h/tws.h"
+#include "h/fmt_compile.h"
+#include "h/utils.h"
 #include "unquote.h"
 
 #ifdef HAVE_SYS_TIME_H
 #include "unquote.h"
 
 #ifdef HAVE_SYS_TIME_H
@@ -67,7 +69,8 @@ match (char *str, char *sub)
  * copy a number to the destination subject to a maximum width
  */
 void
  * copy a number to the destination subject to a maximum width
  */
 void
-cpnumber(charstring_t dest, int num, int wid, char fill, size_t max) {
+cpnumber(charstring_t dest, int num, int wid, char fill, size_t max)
+{
     /* Maybe we should handle left padding at some point? */
     if (wid == 0)
        return;
     /* Maybe we should handle left padding at some point? */
     if (wid == 0)
        return;
@@ -120,7 +123,8 @@ cpnumber(charstring_t dest, int num, int wid, char fill, size_t max) {
  * aligned no more than max characters are copied
  */
 void
  * aligned no more than max characters are copied
  */
 void
-cptrimmed(charstring_t dest, char *str, int wid, char fill, size_t max) {
+cptrimmed(charstring_t dest, char *str, int wid, char fill, size_t max)
+{
     int remaining;     /* remaining output width available */
     bool rjust;
     struct charstring *trimmed;
     int remaining;     /* remaining output width available */
     bool rjust;
     struct charstring *trimmed;