summaryrefslogtreecommitdiff
path: root/tests/sysextest.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2013-10-11 14:49:10 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 14:49:10 +0200
commit9bbab359f008990f89ec574558d528a2f3b55d04 (patch)
tree55561ad2e2aa7dc5f27d6d45385e2bd7329f2104 /tests/sysextest.cpp
parent2e8253577d3acd120d85981f186634f2550087cd (diff)
Version 1.0.7
Diffstat (limited to 'tests/sysextest.cpp')
-rw-r--r--tests/sysextest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sysextest.cpp b/tests/sysextest.cpp
index b61170d..781df0b 100644
--- a/tests/sysextest.cpp
+++ b/tests/sysextest.cpp
@@ -9,10 +9,10 @@
#include <iostream>
#include "RtMidi.h"
-void usage(void) {
+void usage( void ) {
std::cout << "\nuseage: sysextest N\n";
std::cout << " where N = length of sysex message to send / receive.\n\n";
- exit(0);
+ exit( 0 );
}
// Platform-dependent sleep routines.
@@ -29,7 +29,7 @@ void usage(void) {
// It returns false if there are no ports available.
bool chooseMidiPort( RtMidi *rtmidi );
-int main(int argc, char *argv[])
+int main( int argc, char *argv[] )
{
RtMidiOut *midiout = 0;
RtMidiIn *midiin = 0;
@@ -46,7 +46,7 @@ int main(int argc, char *argv[])
midiout = new RtMidiOut();
midiin = new RtMidiIn();
}
- catch (RtError &error) {
+ catch ( RtError &error ) {
error.printMessage();
goto cleanup;
}
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
if ( chooseMidiPort( midiin ) == false ) goto cleanup;
if ( chooseMidiPort( midiout ) == false ) goto cleanup;
}
- catch (RtError &error) {
+ catch ( RtError &error ) {
error.printMessage();
goto cleanup;
}