Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 150bf8643922f310cb945f0e1b3d2350a6dcac75 Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
>Date: Sun, 7 Mar 2021 05:14:17 +0000
>Subject: [PATCH] folder.c: add "folder.h" for prototypes

  Add "folder.h" for missing prototypes.

  Comment out prototype for "getpwnam()" as it is included in "<pwd.h>.

Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is>
---
 folder.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/folder.c b/folder.c
index a50be28..1a095be 100644
--- a/folder.c
+++ b/folder.c
@@ -16,6 +16,7 @@
 #include "db.h"
 #include "digest.h"
 #include "dir.h"
+#include "folder.h"
 #include "match.h"
 #include "menu.h"
 #include "pack_date.h"
@@ -53,7 +54,7 @@ int             ignore_fancy_select = 0;      /* turn off 
select features
 extern int      fmt_linenum;
 extern char    *header_lines;
 
-extern struct passwd *getpwnam(const char *); /* <pwd.h> */
+/* extern struct passwd *getpwnam(const char *); */ /* <pwd.h> */
 
 /*
  *     expand ~[user][/...] form
-- 
2.30.1



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to