Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37824746
en ru br
Репозитории ALT
S:0.2-alt3
5.1: 0.2-alt2.1
4.1: 0.2-alt2.1
4.0: 0.2-alt2.1
3.0: 0.2-alt2
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: gkrellm-webmon

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gkwebmon-0.2-alt-gcc10.patch
Скачать


From a9353a3049a9727f58e0b755b5fd97d4fc0adb63 Mon Sep 17 00:00:00 2001
From: Leontiy Volodin <lvol@altlinux.org>
Date: Thu, 4 Feb 2021 14:09:41 +0300
Subject: [PATCH] gcc10
---
 gkwebmon/webmon.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gkwebmon/webmon.h b/gkwebmon/webmon.h
index 83bc93c..b20e1f3 100644
--- a/gkwebmon/webmon.h
+++ b/gkwebmon/webmon.h
@@ -6,7 +6,7 @@
 
 /* this is included in the saved config file */
 
-int	updatetime;   /* how often to check webpages (in hours) */
+extern int updatetime;   /* how often to check webpages (in hours) */
 
 struct webinfo {
   char          *urlData;       /* full url, pointed into by pointers below, internal '\0' */
@@ -21,11 +21,11 @@ struct webinfo {
   char		use;
   char		updated; /* new md5 checksum in place */
   char		flagged; /* a changed has been posted to tooltips for this entry */
-} wi[20];
+} extern wi[20];
 
 /* end of data for config file */
 
-char wheretostore;  /* 0 == webinfo.init_md5, 1 == webinfo.new_md5 */
+extern char wheretostore;  /* 0 == webinfo.init_md5, 1 == webinfo.new_md5 */
 
 void parse_url_to_config_struct(int i, gchar *instr);  /* parse URL and store data in webinfo struct */
 char *make_url_from_config_struct(int i);
--
libgit2 1.1.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin