[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated

From: David Levine
Subject: [Nmh-commits] [SCM] The nmh Mail Handling System branch, master, updated. 648c015ca70b15edf41d80aa87314ade3252d140
Date: Fri, 06 Jan 2012 03:36:56 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The nmh Mail Handling System".

The branch, master has been updated
       via  648c015ca70b15edf41d80aa87314ade3252d140 (commit)
      from  74d27af89981fc92ea56dec5474a1cec7ac5e474 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 648c015ca70b15edf41d80aa87314ade3252d140
Author: David Levine <address@hidden>
Date:   Thu Jan 5 21:36:51 2012 -0600

    Fixed trivial compile warnings.

diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c
index 97a0b4a..8d03836 100644
--- a/sbr/fmt_scan.c
+++ b/sbr/fmt_scan.c
@@ -126,10 +126,11 @@ cpnumber(char **dest, int num, unsigned int wid, char 
fill, size_t n) {
 static void
 cptrimmed(char **dest, char *str, unsigned int wid, char fill, size_t n) {
     int remaining;     /* remaining output width available */
-    int c, ljust, w;
+    int c, ljust;
     int end;           /* number of input bytes remaining in str */
     int char_len;      /* bytes in current character */
+    int w;
     wchar_t wide_char;
     char *sp;          /* current position in source string */
diff --git a/sbr/pidwait.c b/sbr/pidwait.c
index f454161..5ea87c5 100644
--- a/sbr/pidwait.c
+++ b/sbr/pidwait.c
@@ -11,6 +11,7 @@
 #include <h/signals.h>
 #include <errno.h>
 #include <signal.h>
+#include <sys/wait.h>
 pidwait (pid_t id, int sigsok)
diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c
index efa9ad3..8e09591 100644
--- a/uip/mhshowsbr.c
+++ b/uip/mhshowsbr.c
@@ -19,6 +19,7 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 #include <h/utils.h>
+#include <sys/wait.h>
 extern int debugsw;
diff --git a/uip/termsbr.c b/uip/termsbr.c
index 93e6dd6..f30a058 100644
--- a/uip/termsbr.c
+++ b/uip/termsbr.c
@@ -54,7 +54,7 @@ short ospeed;
 char PC;
 # endif
-#endif notdef_lyndon_posix
+#endif /* notdef_lyndon_posix */
 static long speedcode;


Summary of changes:
 sbr/fmt_scan.c  |    3 ++-
 sbr/pidwait.c   |    1 +
 uip/mhshowsbr.c |    1 +
 uip/termsbr.c   |    2 +-
 4 files changed, 5 insertions(+), 2 deletions(-)

The nmh Mail Handling System

reply via email to

[Prev in Thread] Current Thread [Next in Thread]