#985387 prefix.c: remove the prototype for *tmp_directory; add a comment

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-03-17 04:57:03 UTC
Severity:
normal
Tags:
#985387#5
Date:
2021-03-17 04:53:51 UTC
From:
To:
Dear Maintainer,

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 prefix.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/prefix.c b/prefix.c
index b8fedb4..69480c5 100644
--- a/prefix.c
+++ b/prefix.c
@@ -16,7 +16,6 @@ extern char    *help_directory;
 extern char    *bin_directory;
 extern char    *db_directory;
 extern char    *db_data_directory;
-extern char    *tmp_directory;
 extern char    *log_file;

 #define SHELL_PREFIX	0x01
@@ -149,6 +148,10 @@ main(int argc, char *argv[])
     exit(0);
 }

+/* The following function definitions are necessary for making "mkprefix"
+from "prefix.o" and "global.o" and linking.
+*/
+
 void
 nn_exit(int n)
 {