bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #51513] [PATCH] src: Add missing prototypes


From: Bjarni Ingi Gislason
Subject: [bug #51513] [PATCH] src: Add missing prototypes
Date: Wed, 19 Jul 2017 20:59:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51513>

                 Summary: [PATCH] src: Add missing prototypes
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Thu 20 Jul 2017 12:59:31 AM UTC
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:



>From 1e700831a7e709d54a9d785bd2ac3bcfbbe709f1 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <address@hidden>
Date: Thu, 20 Jul 2017 00:52:02 +0000
Subject: [PATCH] src: Add missing prototypes

Signed-off-by: Bjarni Ingi Gislason <address@hidden>
---
 src/libs/libbib/map.c        | 4 ++++
 src/libs/libgroff/iftoa.c    | 3 +++
 src/libs/libgroff/quotearg.c | 4 ++++
 src/roff/groff/pipeline.c    | 4 ++++
 src/utils/indxbib/signal.c   | 3 +++
 5 files changed, 18 insertions(+)

diff --git a/src/libs/libbib/map.c b/src/libs/libbib/map.c
index c8d7962d..fca863c0 100644
--- a/src/libs/libbib/map.c
+++ b/src/libs/libbib/map.c
@@ -36,6 +36,10 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
 extern "C" {
 #endif
 
+/* Prototypes */
+char *mapread(int, int);
+int unmap(char *, int);
+
 char *mapread(int fd, int nbytes)
 {
   char *p = (char *)mmap((void *)0, (size_t)nbytes, PROT_READ,
diff --git a/src/libs/libgroff/iftoa.c b/src/libs/libgroff/iftoa.c
index 7f39fa07..0919f5f6 100644
--- a/src/libs/libgroff/iftoa.c
+++ b/src/libs/libgroff/iftoa.c
@@ -16,6 +16,9 @@ for more details.
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>. */
 
+/* Prototype */
+char *if_to_a(int, int);
+
 #define INT_DIGITS 19          /* enough for 64-bit integer */
 
 #ifdef __cplusplus
diff --git a/src/libs/libgroff/quotearg.c b/src/libs/libgroff/quotearg.c
index 535fce93..cd5f206d 100644
--- a/src/libs/libgroff/quotearg.c
+++ b/src/libs/libgroff/quotearg.c
@@ -43,6 +43,10 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>. */
 
 extern char *program_name;     /* main program must define this */
 
+/* Prototypes */
+char *quote_arg(char *);
+void purge_quoted_args(char **);
+
 #undef FALSE
 #undef TRUE
 #define FALSE 0
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index d988a8c9..1879af61 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -75,6 +75,10 @@ extern char *strerror();
 
 #include "pipeline.h"
 
+/* Prototypes */
+int run_pipeline(int, char ***, int);
+
+
 #define error c_error
 
 #ifdef __cplusplus
diff --git a/src/utils/indxbib/signal.c b/src/utils/indxbib/signal.c
index 4ff6fa9b..16b411aa 100644
--- a/src/utils/indxbib/signal.c
+++ b/src/utils/indxbib/signal.c
@@ -31,6 +31,9 @@ that is correct for C++, so we implement all signal handling
in C. */
 #include <unistd.h>
 #endif
 
+/* Prototype */
+void catch_fatal_signals(void);
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
2.13.2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51513>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]