-
-/*
- * 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 "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