Changeset 3203 for trunk/Ohana/src/opihi/pcontrol/JobID.c
- Timestamp:
- Feb 12, 2005, 9:34:34 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/JobID.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/JobID.c
r3187 r3203 1 1 # include "pcontrol.h" 2 3 typedef unsigned long long IDtype;4 2 5 3 static IDtype CurrentJobID = 0; … … 7 5 8 6 /* for now, no persistence : we could use the date/time to seed the upper byte(s) if needed */ 9 InitIDs () {7 void InitIDs () { 10 8 CurrentJobID = 0; 11 9 CurrentHostID = 0; … … 32 30 void PrintID (FILE *f, IDtype ID) { 33 31 32 unsigned short int word0, word1, word2, word3; 33 34 34 word0 = 0xffff & ID; 35 35 word1 = 0xffff & (ID >> 16);
Note:
See TracChangeset
for help on using the changeset viewer.
