]> diplodocus.org Git - nmh/blobdiff - sbr/credentials.c
mhmisc.c: Indent with "%*s" rather than "%*.*s".
[nmh] / sbr / credentials.c
index 3aba7d80316e7e8a0d7f9bb2bf84c810b9e8e435..82e3c292e175a2e2e435290b1c13ea510d219f85 100644 (file)
@@ -1,4 +1,6 @@
-/* This code is Copyright (c) 2013, by the authors of nmh.  See the
+/* credentials.c -- wrap configurable access to .netrc or similar files.
+ *
+ * This code is Copyright (c) 2013, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
  */
@@ -6,6 +8,7 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/mts.h>
+#include "m_maildir.h"
 
 struct nmh_creds {
     char *host;                /* Hostname corresponding to credentials */
@@ -14,7 +17,7 @@ struct nmh_creds {
 };
 
 void
-init_credentials_file () {
+init_credentials_file(void) {
     if (credentials_file == NULL) {
         char *cred_style = context_find ("credentials");