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

Группа :: Игры/Аркады
Пакет: heroes-sdl

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

Патч: heroes-0.21-gcc_warning.diff
Скачать


--- lib/xstrduplwr.c
+++ lib/xstrduplwr.c
@@ -23,6 +23,7 @@
 # include <config.h>
 #endif
 
+#include <string.h>
 #include <sys/types.h>
 #include <ctype.h>
 
--- src/heroeslvl.c
+++ src/heroeslvl.c
@@ -435,6 +435,7 @@
     return _("pingpong");
   }
   assert (0);
+  return(0); /* added for to avoid gcc warning control reaches end of non-void function*/
 }
 
 static void
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin