Commit 5e592ea3 authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr
Browse files

use correct prototype and return values

parent edf1c4ca
......@@ -21,7 +21,7 @@
#define ESD_SUMARIO "esd-summary.dat"
#define ESD_DETALHE "esd-detail.dat"
void main() {
int main(int argc, char **argv) {
int i, j, numberOfTracks;
double vx, vy, vz, w, Rx, Ry, Rz, B, radius, prevRadius, t, dt, skip[8];
......@@ -56,7 +56,7 @@ void main() {
if(numberOfTracks < 15 || numberOfTracks > 30) { // if loop has ended and number of tracks is NOT between 15 and 30, finish business
printf("There are no events so that 15 < number of tracks < 30 \n\n");
return;
return 1;
}
......@@ -163,6 +163,7 @@ void main() {
fclose(positions);
return 0;
} // Program works for one specific event.
// Remember to organize AliAnalysisTaskMyTask.cxx 11834
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment