pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
agm: Fix warnings
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Jul 27 22:10:15 2016 +0200
Changeset: 5e3edc699429e076ac905168a4f7d54018db4a93
Modified Files:
agm/distinfo
agm/patches/patch-agm.h
agm/patches/patch-gobble.c
agm/patches/patch-listfuncs.c
agm/patches/patch-main.c
agm/patches/patch-output.c
agm/patches/patch-process.c
agm/patches/patch-progress.c
agm/patches/patch-sort.c
agm/patches/patch-wordfuncs.c
Log Message:
agm: Fix warnings
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e3edc699429e076ac905168a4f7d54018db4a93
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
agm/distinfo | 18 +++++++++---------
agm/patches/patch-agm.h | 11 ++++++++---
agm/patches/patch-gobble.c | 2 +-
agm/patches/patch-listfuncs.c | 2 +-
agm/patches/patch-main.c | 2 +-
agm/patches/patch-output.c | 5 +++--
agm/patches/patch-process.c | 2 +-
agm/patches/patch-progress.c | 7 ++++---
agm/patches/patch-sort.c | 2 +-
agm/patches/patch-wordfuncs.c | 2 +-
10 files changed, 30 insertions(+), 23 deletions(-)
diffs:
diff --git a/agm/distinfo b/agm/distinfo
index 21ec7b7..a861405 100644
--- a/agm/distinfo
+++ b/agm/distinfo
@@ -5,12 +5,12 @@ RMD160 (agm-1.3.1.tar.gz) = b348b99ef9ef58f474d7a0acff572c369bbaf55e
SHA512 (agm-1.3.1.tar.gz) = 143c6c3a31e542f59bbb0fab4372a2747f78b299fff07b9f136b41c930423b27a56f1c9635efa1248caf05d0449f6e63a0c5ed86d136a1c3ffa6309d64297687
Size (agm-1.3.1.tar.gz) = 420211 bytes
SHA1 (patch-Makefile) = 49f935efd6da8434f746989128fd1b6574f27369
-SHA1 (patch-agm.h) = 739e4595c0c7e8bdb609118a8bdd19c92501bcbe
-SHA1 (patch-gobble.c) = d3cc77cde6963af86d598369fce82bd8af5d0a46
-SHA1 (patch-listfuncs.c) = 2d57007f32c1d01c30f674efc1e28baa20fbe148
-SHA1 (patch-main.c) = 06032f012b0cb1260e7b3144e1daa902cfe9a0a4
-SHA1 (patch-output.c) = 83080510bb2dddc7d83337628ee6eeb8ce4a13d5
-SHA1 (patch-process.c) = eb4a9187b9f8ef7792d6882184f41b34dee02e85
-SHA1 (patch-progress.c) = 85ef83e2fe8f0a06654ab9dc0b62369ab98237ef
-SHA1 (patch-sort.c) = 8346bf2a8c0c16b4d28a245444016f5b95968990
-SHA1 (patch-wordfuncs.c) = 8e37496eddfa201c00b312bcfc48a672b903e8ae
+SHA1 (patch-agm.h) = 45b061204c14850ac7930d851f05c2aa0f6726ff
+SHA1 (patch-gobble.c) = d9a121ceb28052a00f85b663157084c15fdf0b04
+SHA1 (patch-listfuncs.c) = f705451ea4f5b398262688cf3170909ebb0704a9
+SHA1 (patch-main.c) = e186f097a9c17ffc35b4f71f8635bedb21a35c77
+SHA1 (patch-output.c) = d1c61729516b5331b1835aef58adca73ec38bdfa
+SHA1 (patch-process.c) = 574472b1e0817d89962292edc7b39b58f38edd62
+SHA1 (patch-progress.c) = fc19cadc1c374d75f609ac2eea7854004a22cc47
+SHA1 (patch-sort.c) = 961f229c96e6642cc6cb77efbfe70473f0e840d7
+SHA1 (patch-wordfuncs.c) = f473b5fcfa95e6f57902a6c9ef3d6af11695c2bd
diff --git a/agm/patches/patch-agm.h b/agm/patches/patch-agm.h
index 178b3e0..baa6495 100644
--- a/agm/patches/patch-agm.h
+++ b/agm/patches/patch-agm.h
@@ -1,8 +1,8 @@
$NetBSD$
---- agm.h.orig 2016-07-27 20:00:36.476968160 +0000
+--- agm.h.orig 2016-07-27 20:12:55.337407545 +0000
+++ agm.h
-@@ -134,5 +134,10 @@ extern struct wnode *lstart, *lend;
+@@ -134,5 +134,15 @@ extern struct wnode *lstart, *lend;
extern char main_RCSid[], gobble_RCSid[], listfuncs_RCSid[], output_RCSid[],
process_RCSid[], sort_RCSid[], wordfuncs_RCSid[], progress_RCSid[];
@@ -12,6 +12,11 @@ $NetBSD$
+extern void arm_timer(void), disarm_timer(void);
+extern int contains (char *, char *, unsigned int *);
+extern int addword (char *, struct wnode **, struct wnode **);
-+estern int eliminate (char *, char *, char *);
++extern int eliminate (char *, char *, char *);
+extern void print_prevs (int);
+extern void destroy_list (struct wnode *, struct wnode *);
++extern void gobble_file (char *, char *);
++extern void merge_sort (struct wnode **, int);
++extern void list_dictionary (struct wnode *);
++extern void minus_process (char *, char *);
++extern void process (char *, struct wnode *, struct wnode *, unsigned int, unsigned int, unsigned int);
diff --git a/agm/patches/patch-gobble.c b/agm/patches/patch-gobble.c
index e34002e..0faf011 100644
--- a/agm/patches/patch-gobble.c
+++ b/agm/patches/patch-gobble.c
@@ -1,6 +1,6 @@
$NetBSD$
---- gobble.c.orig 2016-07-27 20:00:36.480413430 +0000
+--- gobble.c.orig 2016-07-27 20:12:55.340913088 +0000
+++ gobble.c
@@ -22,8 +22,11 @@ char gobble_RCSid[] = "Revision: 1.4 $";
diff --git a/agm/patches/patch-listfuncs.c b/agm/patches/patch-listfuncs.c
index 5605fe2..12e5cbe 100644
--- a/agm/patches/patch-listfuncs.c
+++ b/agm/patches/patch-listfuncs.c
@@ -1,6 +1,6 @@
$NetBSD$
---- listfuncs.c.orig 2016-07-27 20:00:36.483808973 +0000
+--- listfuncs.c.orig 2016-07-27 20:12:55.344357171 +0000
+++ listfuncs.c
@@ -18,8 +18,10 @@ char listfuncs_RCSid[] = "Revision: 1.3
diff --git a/agm/patches/patch-main.c b/agm/patches/patch-main.c
index c7a4489..70f05e8 100644
--- a/agm/patches/patch-main.c
+++ b/agm/patches/patch-main.c
@@ -1,6 +1,6 @@
$NetBSD$
---- main.c.orig 2016-07-27 20:00:36.487265418 +0000
+--- main.c.orig 2016-07-27 20:12:55.347835407 +0000
+++ main.c
@@ -60,6 +60,7 @@ char main_RCSid[] = "Revision: 1.11 $";
#include "agm.h"
diff --git a/agm/patches/patch-output.c b/agm/patches/patch-output.c
index d25f965..2e70eb0 100644
--- a/agm/patches/patch-output.c
+++ b/agm/patches/patch-output.c
@@ -1,6 +1,6 @@
$NetBSD$
---- output.c.orig 2016-07-27 20:00:36.490687012 +0000
+--- output.c.orig 2016-07-27 20:12:55.351278093 +0000
+++ output.c
@@ -24,8 +24,8 @@ char output_RCSid[] = "Revision: 1.5 $";
@@ -13,12 +13,13 @@ $NetBSD$
{
int loop;
-@@ -46,8 +46,7 @@ print_prevs (percent)
+@@ -46,8 +46,8 @@ print_prevs (percent)
spos += totlen + prevcount + 1;
}
-list_dictionary (p)
- struct wnode *p;
++void
+list_dictionary (struct wnode *p)
{
while (p != NULL) {
diff --git a/agm/patches/patch-process.c b/agm/patches/patch-process.c
index e33e75c..11f25f0 100644
--- a/agm/patches/patch-process.c
+++ b/agm/patches/patch-process.c
@@ -1,6 +1,6 @@
$NetBSD$
---- process.c.orig 2016-07-27 20:00:36.494105114 +0000
+--- process.c.orig 2016-07-27 20:12:55.354713027 +0000
+++ process.c
@@ -27,14 +27,11 @@ char process_RCSid[] = "Revision: 1.6 $"
diff --git a/agm/patches/patch-progress.c b/agm/patches/patch-progress.c
index d5d41cc..83e831b 100644
--- a/agm/patches/patch-progress.c
+++ b/agm/patches/patch-progress.c
@@ -1,6 +1,6 @@
$NetBSD$
---- progress.c.orig 2016-07-27 20:00:36.497489413 +0000
+--- progress.c.orig 2016-07-27 20:12:55.358141535 +0000
+++ progress.c
@@ -7,18 +7,20 @@ char progress_RCSid[] = "Revision: 1.1 $
@@ -9,7 +9,7 @@ $NetBSD$
-void print_progress () {
+#include <signal.h>
+
-+void print_progress (void) {
++void print_progress (int unused) {
printf ("%02d\b\b", pct);
fflush (stdout);
}
@@ -20,8 +20,9 @@ $NetBSD$
struct sigaction action;
struct itimerval tmr;
- action.sa_handler = &print_progress;
+- action.sa_handler = &print_progress;
- action.sa_mask = 0;
++ action.sa_handler = print_progress;
+ sigemptyset(&action.sa_mask);
action.sa_flags = 0;
sigaction (SIGALRM, &action, NULL);
diff --git a/agm/patches/patch-sort.c b/agm/patches/patch-sort.c
index fe142a2..33397f0 100644
--- a/agm/patches/patch-sort.c
+++ b/agm/patches/patch-sort.c
@@ -1,6 +1,6 @@
$NetBSD$
---- sort.c.orig 2016-07-27 20:00:36.500874201 +0000
+--- sort.c.orig 2016-07-27 20:12:55.361585478 +0000
+++ sort.c
@@ -14,9 +14,8 @@ char sort_RCSid[] = "Revision: 1.2 $";
diff --git a/agm/patches/patch-wordfuncs.c b/agm/patches/patch-wordfuncs.c
index 2b54d8d..351a77e 100644
--- a/agm/patches/patch-wordfuncs.c
+++ b/agm/patches/patch-wordfuncs.c
@@ -1,6 +1,6 @@
$NetBSD$
---- wordfuncs.c.orig 2016-07-27 20:00:36.504275890 +0000
+--- wordfuncs.c.orig 2016-07-27 20:12:55.365038920 +0000
+++ wordfuncs.c
@@ -14,9 +14,9 @@ char wordfuncs_RCSid[] = "Revision: 1.2
Home |
Main Index |
Thread Index |
Old Index