# HG changeset patch # User Binki # Date 2009-07-15 13:29:26 # Node ID 977179850e7e714b7b365c0b9666d3434cdbc6fd # Parent 82e46a3537bb2e67c927646a2dc153303f0280ff moved global vars after declarations, where they should be diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -38,10 +38,6 @@ -// Global Vars, try to cut down on these -jobnum_t jobnum = 0; // The next job number to create in the queue -int hcfjob; // Highest consecutively finished job -int highest_jobnum; // The job number of the most recently created job, this is used when creating new jobs typedef unsigned int jobnum_t; @@ -115,6 +111,12 @@ void blendjob_remove(struct blendjob **h struct blendjob *blendjob_get(struct blendjob *head, jobnum_t jobnum); +/* Global Vars, try to cut down on these */ +jobnum_t jobnum = 0; // The next job number to create in the queue +int hcfjob; // Highest consecutively finished job +int highest_jobnum; // The job number of the most recently created job, this is used when creating new jobs + + /* ********************** Functions ************************* */ void start_data(){