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

Другие репозитории
Upstream:0.17

Группа :: Система/Основа
Пакет: gettext

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

Патч: gettext-alt-gcc.patch
Скачать


--- gettext/gettext-tools/src/x-c.c
+++ gettext/gettext-tools/src/x-c.c
@@ -92,7 +92,7 @@
 static bool trigraphs = false;
 
 void
-x_c_trigraphs ()
+x_c_trigraphs (void)
 {
   trigraphs = true;
 }
@@ -109,7 +109,7 @@ static bool default_keywords = true;
 
 
 void
-x_c_extract_all ()
+x_c_extract_all (void)
 {
   extract_all = true;
 }
@@ -162,7 +162,7 @@ activate_additional_keywords_kde ()
 /* Finish initializing the keywords hash tables.
    Called after argument processing, before each file is processed.  */
 static void
-init_keywords ()
+init_keywords (void)
 {
   if (default_keywords)
     {
@@ -249,7 +249,7 @@ init_keywords ()
 }
 
 void
-init_flag_table_c ()
+init_flag_table_c (void)
 {
   xgettext_record_flag ("gettext:1:pass-c-format");
   xgettext_record_flag ("dgettext:2:pass-c-format");
@@ -361,7 +361,7 @@ init_flag_table_c ()
 }
 
 void
-init_flag_table_objc ()
+init_flag_table_objc (void)
 {
   /* Since the settings done in init_flag_table_c() also have an effect for
      the ObjectiveC parser, we don't have to repeat them here.  */
@@ -396,7 +396,7 @@ init_flag_table_objc ()
 }
 
 void
-init_flag_table_gcc_internal ()
+init_flag_table_gcc_internal (void)
 {
   xgettext_record_flag ("gettext:1:pass-gcc-internal-format");
   xgettext_record_flag ("dgettext:2:pass-gcc-internal-format");
@@ -572,7 +572,7 @@ static FILE *fp;
 
 
 static int
-phase0_getc ()
+phase0_getc (void)
 {
   int c;
 
@@ -616,7 +616,7 @@ static int phase1_pushback_length;
 
 
 static int
-phase1_getc ()
+phase1_getc (void)
 {
   int c;
 
@@ -684,7 +684,7 @@ static int phase2_pushback_length;
 
 
 static int
-phase2_getc ()
+phase2_getc (void)
 {
   int c;
 
@@ -752,7 +752,7 @@ static int phase3_pushback_length;
 
 
 static int
-phase3_getc ()
+phase3_getc (void)
 {
   if (phase3_pushback_length)
     return phase3_pushback[--phase3_pushback_length];
@@ -791,7 +791,7 @@ static size_t bufmax;
 static size_t buflen;
 
 static inline void
-comment_start ()
+comment_start (void)
 {
   buflen = 0;
 }
@@ -837,7 +837,7 @@ static int newline_count;
    We also optionally understand C++ comments.  */
 
 static int
-phase4_getc ()
+phase4_getc (void)
 {
   int c;
   bool last_was_star;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin