changeset 15975:ede627d300ff

posix_openpt test: Coding style. * tests/test-posix_openpt.c: Use GNU coding style.
author Bruno Haible <bruno@clisp.org>
date Thu, 20 Oct 2011 16:52:47 +0200
parents d9cf83344485
children e4144dcb6f45
files ChangeLog tests/test-posix_openpt.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-20  Bruno Haible  <bruno@clisp.org>
+
+	posix_openpt test: Coding style.
+	* tests/test-posix_openpt.c: Use GNU coding style.
+
 2011-10-20  Bruno Haible  <bruno@clisp.org>
 
 	grantpt: Support --avoid=pt_chown.
--- a/tests/test-posix_openpt.c
+++ b/tests/test-posix_openpt.c
@@ -42,7 +42,7 @@
   char *name;
 
   /* Open the master of a pseudo-terminal pair.  */
-  master = posix_openpt(O_RDWR | O_NOCTTY);
+  master = posix_openpt (O_RDWR | O_NOCTTY);
   if (master < 0 && errno == ENOSYS)
     {
       fputs ("skipping: platform lacks pty support\n", stderr);