]> diplodocus.org Git - nmh/blobdiff - sbr/m_mktemp.c
Remove support for ./.foo.map index for ./foo mailbox.
[nmh] / sbr / m_mktemp.c
index 2a10ed8cf0826cb27a2e9b9b91909a01f3b619a8..9a28b48af587dba8d8bcb62221dcfd037bb1537c 100644 (file)
@@ -8,6 +8,8 @@
 #include <h/mh.h>
 #include <h/utils.h>
 #include <h/signals.h>
+#include "m_maildir.h"
+#include "m_mktemp.h"
 
 static void register_for_removal(const char *);
 
@@ -228,7 +230,7 @@ m_mktemps(
 
 
 char *
-get_temp_dir()
+get_temp_dir(void)
 {
     /* Ignore envvars if we are setuid */
     if ((getuid()==geteuid()) && (getgid()==getegid())) {
@@ -319,7 +321,7 @@ m_unlink(const char *pathname) {
  * Remove all registered temporary files.
  */
 void
-remove_registered_files_atexit() {
+remove_registered_files_atexit(void) {
     unregister_for_removal(1);
 }