summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/msgcat.c3
-rw-r--r--src/msgconv.c3
-rw-r--r--src/msgen.c3
-rw-r--r--src/msgexec.c3
-rw-r--r--src/msggrep.c3
-rw-r--r--src/msgl-cat.c3
-rw-r--r--src/msgl-iconv.c3
-rw-r--r--src/msguniq.c3
-rw-r--r--src/open-po.c3
9 files changed, 18 insertions, 9 deletions
diff --git a/src/msgcat.c b/src/msgcat.c
index 80a4f18..4c3b39a 100644
--- a/src/msgcat.c
+++ b/src/msgcat.c
@@ -75,7 +75,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void usage PARAMS ((int status));
diff --git a/src/msgconv.c b/src/msgconv.c
index 057becc..81c0a26 100644
--- a/src/msgconv.c
+++ b/src/msgconv.c
@@ -69,7 +69,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void usage PARAMS ((int status));
diff --git a/src/msgen.c b/src/msgen.c
index 3e20903..b2395f8 100644
--- a/src/msgen.c
+++ b/src/msgen.c
@@ -62,7 +62,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void usage PARAMS ((int status));
static msgdomain_list_ty *english PARAMS ((msgdomain_list_ty *mdlp));
diff --git a/src/msgexec.c b/src/msgexec.c
index f3cd8ff..b206da0 100644
--- a/src/msgexec.c
+++ b/src/msgexec.c
@@ -101,7 +101,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void usage PARAMS ((int status));
#ifdef EINTR
static inline int nonintr_close PARAMS ((int fd));
diff --git a/src/msggrep.c b/src/msggrep.c
index 107c731..a06367c 100644
--- a/src/msggrep.c
+++ b/src/msggrep.c
@@ -99,7 +99,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void no_pass PARAMS ((int opt));
static void usage PARAMS ((int status));
#ifdef EINTR
diff --git a/src/msgl-cat.c b/src/msgl-cat.c
index 32c8edb..a1ff339 100644
--- a/src/msgl-cat.c
+++ b/src/msgl-cat.c
@@ -54,7 +54,8 @@ bool msgcomm_mode = false;
bool omit_header = false;
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static bool is_message_selected PARAMS ((const message_ty *tmp));
static bool is_message_needed PARAMS ((const message_ty *tmp));
static bool is_message_first_needed PARAMS ((const message_ty *tmp));
diff --git a/src/msgl-iconv.c b/src/msgl-iconv.c
index 54b65ca..0faa1c2 100644
--- a/src/msgl-iconv.c
+++ b/src/msgl-iconv.c
@@ -40,7 +40,8 @@
#define _(str) gettext (str)
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
#if HAVE_ICONV
static int iconv_string PARAMS ((iconv_t cd,
const char *start, const char *end,
diff --git a/src/msguniq.c b/src/msguniq.c
index fd9dc85..a771a30 100644
--- a/src/msguniq.c
+++ b/src/msguniq.c
@@ -72,7 +72,8 @@ static const struct option long_options[] =
};
-/* Prototypes for local functions. */
+/* Prototypes for local functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
static void usage PARAMS ((int status));
diff --git a/src/open-po.c b/src/open-po.c
index 4aed422..4540f3d 100644
--- a/src/open-po.c
+++ b/src/open-po.c
@@ -39,7 +39,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
extern int errno;
#endif
-/* Prototypes for helper functions. */
+/* Prototypes for helper functions. Needed to ensure compiler checking of
+ function argument counts despite of K&R C function definition syntax. */
extern char *xstrdup PARAMS ((const char *string));
/* This macro is used to determine the number of elements in an erray. */