]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add function prototypes.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Sep 2001 12:19:08 +0000 (12:19 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 24 Sep 2001 12:19:08 +0000 (12:19 +0000)
lib/ChangeLog
lib/pipe-bidi.c
lib/pipe-in.c
lib/pipe-out.c
src/ChangeLog
src/msgexec.c
src/xgettext.c

index 63880481d4caf41e321fcd080d6b0f556c12999e..8daf32cb7d5e03800b3f5f885d6718845268398d 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-08  Bruno Haible  <haible@clisp.cons.org>
+
+       * pipe-bidi.c (nonintr_close): Add function prototypes.
+       * pipe-in.c (nonintr_close, nonintr_open): Likewise.
+       * pipe-out.c (nonintr_close, nonintr_open): Likewise.
+
 2001-09-08  Bruno Haible  <haible@clisp.cons.org>
 
        * findprog.c: Include specification header before all other headers.
index b52aacb2c39e798bf28c81f6e97ab00d33a4d89f..e159f62f286df192840f5e71fe0dc03f892c48f1 100644 (file)
 #define _(str) gettext (str)
 
 
+/* Prototypes for local functions.  Needed to ensure compiler checking of
+   function argument counts despite of K&R C function definition syntax.  */
+#ifdef EINTR
+static inline int nonintr_close PARAMS ((int fd));
+#endif
+
+
 #ifdef EINTR
 
 /* EINTR handling for close().
index 85e911f7b6bb3b50e1711a84effe89c24cc973f9..8149f49347cf7701fb5792eba5208fd0c48f0aad 100644 (file)
 #define _(str) gettext (str)
 
 
+/* Prototypes for local functions.  Needed to ensure compiler checking of
+   function argument counts despite of K&R C function definition syntax.  */
+#ifdef EINTR
+static inline int nonintr_close PARAMS ((int fd));
+static inline int nonintr_open PARAMS ((const char *pathname, int oflag,
+                                       mode_t mode));
+#endif
+
+
 #ifdef EINTR
 
 /* EINTR handling for close(), open().
index ffb6ef292835c01d2e867dabbb7f399ca3cf2df4..60aab62b3619cc3137fc027a150c6c3951201e99 100644 (file)
 #define _(str) gettext (str)
 
 
+/* Prototypes for local functions.  Needed to ensure compiler checking of
+   function argument counts despite of K&R C function definition syntax.  */
+#ifdef EINTR
+static inline int nonintr_close PARAMS ((int fd));
+static inline int nonintr_open PARAMS ((const char *pathname, int oflag,
+                                       mode_t mode));
+#endif
+
+
 #ifdef EINTR
 
 /* EINTR handling for close(), open().
index 8b1501aa53f4cb35b8af1c12231691210b0ff180..fc641c7386f6be5be7c5fbd79d395cc893c6988e 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-08  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgexec.c (nonintr_select): Add function prototype.
+
+       * xgettext.c (scan_java_file): Add function prototype.
+
 2001-09-23  Bruno Haible  <haible@clisp.cons.org>
 
        * xgettext.c (remember_a_message): Warn about empty msgid if it
index 0445866eaec45c79676369687592a280e6048e13..83898449bbcbf0312e59a565dab19479563db8d1 100644 (file)
@@ -109,6 +109,11 @@ static inline int nonintr_close PARAMS ((int fd));
 static inline ssize_t nonintr_read PARAMS ((int fd, void *buf, size_t count));
 static inline ssize_t nonintr_write PARAMS ((int fd, const void *buf,
                                             size_t count));
+#if HAVE_SELECT
+static inline int nonintr_select PARAMS ((int n, fd_set *readfds,
+                                         fd_set *writefds, fd_set *exceptfds,
+                                         struct timeval *timeout));
+#endif
 #endif
 static void process_string PARAMS ((const char *str, size_t len,
                                    char **resultp, size_t *lengthp));
index 1b7713c9064fd4a83e2736d4afd697dc1613b2a9..75a801cf77568405876fb556b0c386a2749f261f 100644 (file)
@@ -165,6 +165,8 @@ static void scan_c_file PARAMS ((const char *file_name,
                                 msgdomain_list_ty *mdlp));
 static void scan_po_file PARAMS ((const char *file_name,
                                  msgdomain_list_ty *mdlp));
+static void scan_java_file PARAMS ((const char *file_name,
+                                   msgdomain_list_ty *mdlp));
 static long difftm PARAMS ((const struct tm *a, const struct tm *b));
 static message_ty *construct_header PARAMS ((void));