]> diplodocus.org Git - nmh/blobdiff - sbr/getfolder.c
Fix tests that assume the backup prefix is a comma.
[nmh] / sbr / getfolder.c
index 544a144e7c88b74750132bf60bee4ef816edb54c..fb3696b5a5f2b77e90a6f6b2b968f928b29faa8d 100644 (file)
@@ -1,21 +1,20 @@
-
-/*
- * getfolder.c -- get the current or default folder
- *
- * $Id$
+/* getfolder.c -- get the current or default folder
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "getfolder.h"
+#include "context_find.h"
 
 
+/* Does not return NULL. */
 char *
 getfolder(int wantcurrent)
 {
-    register char *folder;
+    char *folder;
 
     /*
      * If wantcurrent == 1, then try the current folder first