[haiku-commits] haiku: hrev45287 - in src: bin tools/stubgen

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 16 Feb 2013 20:30:23 +0100 (CET)

hrev45287 adds 4 changesets to branch 'master'
old head: e4ba645c453ce75cca53c0deeaa4989d33c48958
new head: 04c4314e15f25dbf34a7e64153b9e1463e52e942
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=04c4314+%5Ee4ba645

----------------------------------------------------------------------------

f49d75c: Renamed file. No functional change.

43b74aa: s/OpenBeOS/Haiku

fbcd94b: Automatic whitespace cleanup. No functional change.

04c4314: Rewrote copyright header.  s/OpenBeOS/Haiku.
  
  Slight cleanup to included headers.

                                        [ Matt Madia <mattmadia@xxxxxxxxx> ]

----------------------------------------------------------------------------

3 files changed, 25 insertions(+), 32 deletions(-)
src/bin/clear.c                     | 20 +++++++------------
src/bin/tty.c                       | 34 +++++++++++++++------------------
src/tools/stubgen/Example Usage.txt |  3 +++

############################################################################

Commit:      f49d75c6a486176e1742c41104fe0187e92c0555
URL:         http://cgit.haiku-os.org/haiku/commit/?id=f49d75c
Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Sat Feb 16 18:59:14 2013 UTC

Renamed file. No functional change.

----------------------------------------------------------------------------

diff --git a/src/tools/stubgen/Example Usage.txt b/src/tools/stubgen/Example 
Usage.txt
new file mode 100644
index 0000000..402cfb8
--- /dev/null
+++ b/src/tools/stubgen/Example Usage.txt       
@@ -0,0 +1,3 @@
+Example usage for OpenBeOS project:
+
+stubgen -s -g -a *.h

############################################################################

Commit:      43b74aad598b98fc030ec8428cd73c8ae6cdeace
URL:         http://cgit.haiku-os.org/haiku/commit/?id=43b74aa
Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Sat Feb 16 18:59:39 2013 UTC

s/OpenBeOS/Haiku

----------------------------------------------------------------------------

diff --git a/src/tools/stubgen/Example Usage.txt b/src/tools/stubgen/Example 
Usage.txt
index 402cfb8..45780c9 100644
--- a/src/tools/stubgen/Example Usage.txt       
+++ b/src/tools/stubgen/Example Usage.txt       
@@ -1,3 +1,3 @@
-Example usage for OpenBeOS project:
+Example usage for Haiku project:
 
 stubgen -s -g -a *.h

############################################################################

Commit:      fbcd94bde7897b805121793203fc7c8a8d5b9168
URL:         http://cgit.haiku-os.org/haiku/commit/?id=fbcd94b
Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Sat Feb 16 19:05:32 2013 UTC

Automatic whitespace cleanup. No functional change.

----------------------------------------------------------------------------

diff --git a/src/bin/clear.c b/src/bin/clear.c
index 6340026..eec2235 100644
--- a/src/bin/clear.c
+++ b/src/bin/clear.c
@@ -2,7 +2,7 @@
 //
 //  Copyright (c) 2001-2003, OpenBeOS
 //
-//  This software is part of the OpenBeOS distribution and is covered 
+//  This software is part of the OpenBeOS distribution and is covered
 //  by the OpenBeOS license.
 //
 //
diff --git a/src/bin/tty.c b/src/bin/tty.c
index fdcdc65..06e576d 100644
--- a/src/bin/tty.c
+++ b/src/bin/tty.c
@@ -2,7 +2,7 @@
 //
 //  Copyright (c) 2001-2003, OpenBeOS
 //
-//  This software is part of the OpenBeOS distribution and is covered 
+//  This software is part of the OpenBeOS distribution and is covered
 //  by the OpenBeOS license.
 //
 //
@@ -31,23 +31,23 @@ usage()
 int
 main(int argc, char *argv[])
 {
-       
+
        if (argc > 2)
                usage();
-       
+
        else {
                bool silent = false;
-               
+
                if (argc == 2) {
                        if (!strcmp(argv[1], "-s"))
                                silent = true;
                        else
                                usage();
                }
-               
+
                if (!silent)
                        printf("%s\n", ttyname(STDIN_FILENO));
        }
-       
+
        return (isatty(STDIN_FILENO) ? 0 : 1);
 }

############################################################################

Revision:    hrev45287
Commit:      04c4314e15f25dbf34a7e64153b9e1463e52e942
URL:         http://cgit.haiku-os.org/haiku/commit/?id=04c4314
Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Sat Feb 16 19:07:00 2013 UTC

Rewrote copyright header.  s/OpenBeOS/Haiku.

Slight cleanup to included headers.

----------------------------------------------------------------------------

diff --git a/src/bin/clear.c b/src/bin/clear.c
index eec2235..f41db64 100644
--- a/src/bin/clear.c
+++ b/src/bin/clear.c
@@ -1,16 +1,10 @@
-// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
-//
-//  Copyright (c) 2001-2003, OpenBeOS
-//
-//  This software is part of the OpenBeOS distribution and is covered
-//  by the OpenBeOS license.
-//
-//
-//  File:        clear.c
-//  Author:      Jan-Rixt Van Hoye (janvanhoye@xxxxxxxxxx)
-//  Description: clears the terminal screen
-//
-// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+/*
+ * Copyright 2001-2013 Haiku, Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ *                             Jan-Rixt Van Hoye, janvanhoye@xxxxxxxxxx
+ */
 
 
 #include <stdlib.h>
diff --git a/src/bin/tty.c b/src/bin/tty.c
index 06e576d..c892a99 100644
--- a/src/bin/tty.c
+++ b/src/bin/tty.c
@@ -1,21 +1,17 @@
-// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
-//
-//  Copyright (c) 2001-2003, OpenBeOS
-//
-//  This software is part of the OpenBeOS distribution and is covered
-//  by the OpenBeOS license.
-//
-//
-//  File:        tty.c
-//  Author:      Daniel Reinhold (danielre@xxxxxxxxxxxx)
-//  Description: prints the file name of the user's terminal
-//
-// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
+/*
+ * Copyright 2001-2013 Haiku, Inc. All rights reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ *                             Daniel Reinhold, danielre@xxxxxxxxxxxx
+ */
+
 
-#include <OS.h>
 #include <stdio.h>
 #include <unistd.h>
 
+#include <OS.h>
+
 
 void
 usage()


Other related posts:

  • » [haiku-commits] haiku: hrev45287 - in src: bin tools/stubgen - mattmadia