Test some types.
authorBruno Haible <bruno@clisp.org>
Mon, 28 May 2007 12:36:21 +0000 (12:36 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 28 May 2007 12:36:21 +0000 (12:36 +0000)
ChangeLog
tests/test-unistd.c

index bc9441c..91eb8d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-unistd.c: Test all the types that <unistd.h> is expected
+       to define.
+
 2007-05-27  Bruno Haible  <bruno@clisp.org>
 
        * m4/iconv.m4 (AM_ICONV_LINK): Fix 2007-03-31 patch.
index 755708a..8b8fe8e 100644 (file)
 /* Check that the various SEEK_* macros are defined.  */
 int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
 
+/* Check that the types are all defined.  */
+size_t t1;
+ssize_t t2;
+uid_t t3;
+gid_t t4;
+off_t t5;
+pid_t t6;
+useconds_t t7;
+intptr_t t8;
+
 int
 main ()
 {