]> diplodocus.org Git - nmh/blobdiff - sbr/getfolder.c
folder_realloc.c: Move interface to own file.
[nmh] / sbr / getfolder.c
index 21db9a9828f2ad649461ecf4937c38293f672016..c77d3961fe773c956e562696c26752c7d18ad73f 100644 (file)
@@ -1,17 +1,19 @@
-
-/*
- * getfolder.c -- get the current or default folder
+/* getfolder.c -- get the current or default folder
  *
  *
- * $Id$
+ * 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 "context_find.h"
 
 
 
 
+/* Does not return NULL. */
 char *
 getfolder(int wantcurrent)
 {
 char *
 getfolder(int wantcurrent)
 {
-    register char *folder;
+    char *folder;
 
     /*
      * If wantcurrent == 1, then try the current folder first
 
     /*
      * If wantcurrent == 1, then try the current folder first