]> diplodocus.org Git - nmh/blobdiff - sbr/credentials.c
mh.h: Move the gcc-4.3-conditional macro definitions.
[nmh] / sbr / credentials.c
index 32bc792098e85d89a5fdc9f63dc8be679d82547c..82e3c292e175a2e2e435290b1c13ea510d219f85 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/* 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.
  * 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.
@@ -7,6 +8,7 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/mts.h>
 #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 */
 
 struct nmh_creds {
     char *host;                /* Hostname corresponding to credentials */
@@ -15,7 +17,7 @@ struct nmh_creds {
 };
 
 void
 };
 
 void
-init_credentials_file () {
+init_credentials_file(void) {
     if (credentials_file == NULL) {
         char *cred_style = context_find ("credentials");
 
     if (credentials_file == NULL) {
         char *cred_style = context_find ("credentials");