From a04d4ca72829098ce0b46176b0578543d85a8f9a Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Thu, 29 Mar 2012 12:01:39 +0200 Subject: Improve comment style of all test programs --- src/boost-test.cpp | 6 ++++-- src/curl-test.c | 6 ++++-- src/file-test.c | 6 ++++-- src/fltk-test.cpp | 10 +++++++--- src/freeglut-test.c | 6 ++++-- src/gd-test.c | 11 +++++++---- src/geos-test.c | 6 ++++-- src/glew-test.c | 6 ++++-- src/gnutls-test.c | 6 ++++-- src/graphicsmagick-test.cpp | 6 ++++-- src/gsl-test.c | 6 ++++-- src/gta-test.c | 6 ++++-- src/gtk2-test.c | 6 ++++-- src/gtkglext-test.c | 6 ++++-- src/gtkglextmm-test.cpp | 6 ++++-- src/gtkmm2-test.cpp | 6 ++++-- src/guile-test.c | 6 ++++-- src/jpeg-test.c | 6 ++++-- src/libarchive-test.c | 6 ++++-- src/libass-test.c | 6 ++++-- src/libffi-test.c | 6 ++++-- src/libgomp-test.c | 6 ++++-- src/libgsasl-test.c | 6 ++++-- src/libiberty-test.c | 6 ++++-- src/libical-test.c | 6 ++++-- src/libidn-test.c | 6 ++++-- src/libircclient-test.cpp | 6 ++++-- src/libmikmod-test.c | 6 ++++-- src/liboauth-test.c | 6 ++++-- src/libpng-test.c | 12 +++++++----- src/librsvg-test.c | 6 ++++-- src/libssh2-test.c | 6 ++++-- src/lua-test.c | 6 ++++-- src/mxml-test.c | 6 ++++-- src/openal-test.c | 6 ++++-- src/physfs-test.c | 11 +++++++---- src/poco-test.cpp | 6 ++++-- src/portaudio-test.c | 6 ++++-- src/pthreads-test.c | 6 ++++-- src/qt-test.cpp | 6 ++++-- src/qt-test.ui | 6 ++++-- src/sdl-test.c | 6 ++++-- src/sdl_image-test.c | 6 ++++-- src/sdl_mixer-test.c | 6 ++++-- src/sdl_net-test.c | 6 ++++-- src/sdl_sound-test.c | 9 +++++++-- src/smpeg-test.c | 6 ++++-- src/tinyxml-test.cpp | 6 ++++-- src/vigra-test.cpp | 6 ++++-- src/wxwidgets-test.cpp | 6 ++++-- src/xerces-test.cpp | 6 ++++-- 51 files changed, 219 insertions(+), 110 deletions(-) diff --git a/src/boost-test.cpp b/src/boost-test.cpp index 7ec6613..403a251 100644 --- a/src/boost-test.cpp +++ b/src/boost-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/curl-test.c b/src/curl-test.c index 291bf6f..4055fe8 100644 --- a/src/curl-test.c +++ b/src/curl-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/file-test.c b/src/file-test.c index 337cfb9..1d038b1 100644 --- a/src/file-test.c +++ b/src/file-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/fltk-test.cpp b/src/fltk-test.cpp index 7c59564..e3a476d 100644 --- a/src/fltk-test.cpp +++ b/src/fltk-test.cpp @@ -1,7 +1,11 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * http://www.fltk.org/doc-1.3/basics.html + */ -/* http://www.fltk.org/doc-1.3/basics.html */ #include #include #include diff --git a/src/freeglut-test.c b/src/freeglut-test.c index aaa2d73..d3c9e92 100644 --- a/src/freeglut-test.c +++ b/src/freeglut-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/gd-test.c b/src/gd-test.c index a4659bc..d31391b 100644 --- a/src/gd-test.c +++ b/src/gd-test.c @@ -1,7 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* modified from /examples/arc.c */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * examples/arc.c + */ #include "gd.h" #include diff --git a/src/geos-test.c b/src/geos-test.c index 9762e99..5f4f5d3 100644 --- a/src/geos-test.c +++ b/src/geos-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/glew-test.c b/src/glew-test.c index bdc36f1..68dfba5 100644 --- a/src/glew-test.c +++ b/src/glew-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/gnutls-test.c b/src/gnutls-test.c index c0bbef0..73f7c26 100644 --- a/src/gnutls-test.c +++ b/src/gnutls-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/graphicsmagick-test.cpp b/src/graphicsmagick-test.cpp index e6dc8ac..517483a 100644 --- a/src/graphicsmagick-test.cpp +++ b/src/graphicsmagick-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/gsl-test.c b/src/gsl-test.c index 82bdcf8..d84fd94 100644 --- a/src/gsl-test.c +++ b/src/gsl-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/gta-test.c b/src/gta-test.c index 66e77ab..5ff8222 100644 --- a/src/gta-test.c +++ b/src/gta-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/gtk2-test.c b/src/gtk2-test.c index 53db936..b4685e1 100644 --- a/src/gtk2-test.c +++ b/src/gtk2-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/gtkglext-test.c b/src/gtkglext-test.c index e4c25d5..be49e89 100644 --- a/src/gtkglext-test.c +++ b/src/gtkglext-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/gtkglextmm-test.cpp b/src/gtkglextmm-test.cpp index 20e0bdf..2a10220 100644 --- a/src/gtkglextmm-test.cpp +++ b/src/gtkglextmm-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/gtkmm2-test.cpp b/src/gtkmm2-test.cpp index dffd751..741d0eb 100644 --- a/src/gtkmm2-test.cpp +++ b/src/gtkmm2-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/guile-test.c b/src/guile-test.c index b8cc22d..576d8d1 100644 --- a/src/guile-test.c +++ b/src/guile-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/jpeg-test.c b/src/jpeg-test.c index 8d442fe..b98016e 100644 --- a/src/jpeg-test.c +++ b/src/jpeg-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libarchive-test.c b/src/libarchive-test.c index d6ab632..fd9196b 100644 --- a/src/libarchive-test.c +++ b/src/libarchive-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/libass-test.c b/src/libass-test.c index 71e069c..c5e0324 100644 --- a/src/libass-test.c +++ b/src/libass-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/libffi-test.c b/src/libffi-test.c index 630ce05..1bf9775 100644 --- a/src/libffi-test.c +++ b/src/libffi-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libgomp-test.c b/src/libgomp-test.c index 065b328..a63a621 100644 --- a/src/libgomp-test.c +++ b/src/libgomp-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libgsasl-test.c b/src/libgsasl-test.c index cddbca6..997126f 100644 --- a/src/libgsasl-test.c +++ b/src/libgsasl-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/libiberty-test.c b/src/libiberty-test.c index 4f0d38b..f5272cb 100644 --- a/src/libiberty-test.c +++ b/src/libiberty-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #define _GNU_SOURCE #include diff --git a/src/libical-test.c b/src/libical-test.c index 38505a4..ca73862 100644 --- a/src/libical-test.c +++ b/src/libical-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libidn-test.c b/src/libidn-test.c index 22f46f6..5bb52fd 100644 --- a/src/libidn-test.c +++ b/src/libidn-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libircclient-test.cpp b/src/libircclient-test.cpp index bdfbbbf..7c80833 100644 --- a/src/libircclient-test.cpp +++ b/src/libircclient-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/libmikmod-test.c b/src/libmikmod-test.c index 654e6f7..9b24f6f 100644 --- a/src/libmikmod-test.c +++ b/src/libmikmod-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/liboauth-test.c b/src/liboauth-test.c index 4aad98e..b0eecc3 100644 --- a/src/liboauth-test.c +++ b/src/liboauth-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/libpng-test.c b/src/libpng-test.c index d9ee8a6..bf036d2 100644 --- a/src/libpng-test.c +++ b/src/libpng-test.c @@ -1,8 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* This is a slightly modified version of: */ -/* http://ironalbatross.net/wiki/index.php5?title=CPP_LIBPNG#Minimal_Example_of_writing_a_PNG_File */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * http://ironalbatross.net/wiki/index.php5?title=CPP_LIBPNG#Minimal_Example_of_writing_a_PNG_File + */ #include #include diff --git a/src/librsvg-test.c b/src/librsvg-test.c index 3bfe8fb..35964e2 100644 --- a/src/librsvg-test.c +++ b/src/librsvg-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/libssh2-test.c b/src/libssh2-test.c index 3b5d73b..8051039 100644 --- a/src/libssh2-test.c +++ b/src/libssh2-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/lua-test.c b/src/lua-test.c index f13fcfe..249ff41 100644 --- a/src/lua-test.c +++ b/src/lua-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/mxml-test.c b/src/mxml-test.c index 405096f..aaf94d0 100644 --- a/src/mxml-test.c +++ b/src/mxml-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/openal-test.c b/src/openal-test.c index d8d0c47..9e3ead1 100644 --- a/src/openal-test.c +++ b/src/openal-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/physfs-test.c b/src/physfs-test.c index 1ca1fc0..ca2173f 100644 --- a/src/physfs-test.c +++ b/src/physfs-test.c @@ -1,7 +1,10 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ - -/* modified from test/physfs_test.c */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a slightly modified version of: + * test/physfs_test.c + */ #include "physfs.h" #include diff --git a/src/poco-test.cpp b/src/poco-test.cpp index caed18b..a79a1c0 100644 --- a/src/poco-test.cpp +++ b/src/poco-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/portaudio-test.c b/src/portaudio-test.c index 872ef1a..d0b4b9a 100644 --- a/src/portaudio-test.c +++ b/src/portaudio-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/pthreads-test.c b/src/pthreads-test.c index 1072713..b805d20 100644 --- a/src/pthreads-test.c +++ b/src/pthreads-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/qt-test.cpp b/src/qt-test.cpp index de15e01..daa9a66 100644 --- a/src/qt-test.cpp +++ b/src/qt-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/qt-test.ui b/src/qt-test.ui index 26ba03a..06edb95 100644 --- a/src/qt-test.ui +++ b/src/qt-test.ui @@ -1,7 +1,9 @@ - - + MainWindow diff --git a/src/sdl-test.c b/src/sdl-test.c index 8642d91..8f90cdd 100644 --- a/src/sdl-test.c +++ b/src/sdl-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/sdl_image-test.c b/src/sdl_image-test.c index e219f3c..43daa7a 100644 --- a/src/sdl_image-test.c +++ b/src/sdl_image-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/sdl_mixer-test.c b/src/sdl_mixer-test.c index 902fa10..78b7389 100644 --- a/src/sdl_mixer-test.c +++ b/src/sdl_mixer-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/sdl_net-test.c b/src/sdl_net-test.c index 24c4753..e212430 100644 --- a/src/sdl_net-test.c +++ b/src/sdl_net-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/sdl_sound-test.c b/src/sdl_sound-test.c index 852b6c8..00d0418 100644 --- a/src/sdl_sound-test.c +++ b/src/sdl_sound-test.c @@ -1,8 +1,13 @@ -/* Simple test program for SDL_sound that tries to decode the file specified - * as the only command-line argument. +/* + * This file is part of MXE. + * See doc/index.html for further information. + * + * This is a simple test program for SDL_sound that tries to + * decode the file specified as the only command-line argument. * * This file is in the Public Domain. */ + #include #include diff --git a/src/smpeg-test.c b/src/smpeg-test.c index 348f666..6c39ba5 100644 --- a/src/smpeg-test.c +++ b/src/smpeg-test.c @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/tinyxml-test.cpp b/src/tinyxml-test.cpp index 9508016..013267c 100644 --- a/src/tinyxml-test.cpp +++ b/src/tinyxml-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/vigra-test.cpp b/src/vigra-test.cpp index 032b83a..273371e 100644 --- a/src/vigra-test.cpp +++ b/src/vigra-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include #include diff --git a/src/wxwidgets-test.cpp b/src/wxwidgets-test.cpp index 3423d3b..d48460f 100644 --- a/src/wxwidgets-test.cpp +++ b/src/wxwidgets-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include diff --git a/src/xerces-test.cpp b/src/xerces-test.cpp index 5348b9c..39949fd 100644 --- a/src/xerces-test.cpp +++ b/src/xerces-test.cpp @@ -1,5 +1,7 @@ -/* This file is part of MXE. */ -/* See doc/index.html for further information. */ +/* + * This file is part of MXE. + * See doc/index.html for further information. + */ #include -- cgit v0.12