]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
HP-UX portability.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Dec 2001 22:31:43 +0000 (22:31 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:53:27 +0000 (23:53 +0200)
lib/ChangeLog
lib/execute.c
lib/pipe-in.c
lib/pipe-out.c

index 5115deb19ed8c97911030685038eaebd9c448d95..84e5795f803a7f57432a9c40eaf3de7bfddb0a35 100644 (file)
@@ -1,3 +1,10 @@
+2001-12-20  Bruno Haible  <bruno@clisp.org>
+
+       * execute.c (nonintr_open): Omit prototype. On some platforms mode_t
+       promotes to int, not mode_t.
+       * pipe-in.c (nonintr_open): Likewise.
+       * pipe-out.c (nonintr_open): Likewise.
+
 2001-12-20  Bruno Haible  <bruno@clisp.org>
 
        * setenv.c (__add_to_environ): Don't call realloc(NULL,...), use
index b3eae00516b57844b01e995134130e44d60de2ef..793727f439c41ce2d64137e9c968d9cce46b90da 100644 (file)
    function argument counts despite of K&R C function definition syntax.  */
 #ifdef EINTR
 static inline int nonintr_close PARAMS ((int fd));
+# ifdef __GNUC__
 static inline int nonintr_open PARAMS ((const char *pathname, int oflag,
                                        mode_t mode));
+# endif
 #endif
 
 
index f08e63ba99ddf896ad4ec23dbea37a6dc675f363..d36cb84ba8ce7f46189dd06c0b5d3c7e2ddbbe3f 100644 (file)
    function argument counts despite of K&R C function definition syntax.  */
 #ifdef EINTR
 static inline int nonintr_close PARAMS ((int fd));
+# ifdef __GNUC__
 static inline int nonintr_open PARAMS ((const char *pathname, int oflag,
                                        mode_t mode));
+# endif
 #endif
 
 
index fb16881f4181030094fd1363e7ab2b687160b6fe..461017d424965edebf61dac4aa99ec058e6ee99d 100644 (file)
    function argument counts despite of K&R C function definition syntax.  */
 #ifdef EINTR
 static inline int nonintr_close PARAMS ((int fd));
+# ifdef __GNUC__
 static inline int nonintr_open PARAMS ((const char *pathname, int oflag,
                                        mode_t mode));
+# endif
 #endif