You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change time to harris_time to not clash with system symbol
./types.h:40:1: error: redefinition of 'time' as different kind of symbol
time;
^
/usr/include/time.h:154:8: note: previous definition is here
time_t time(time_t *);
^
Copy file name to clipboardExpand all lines: history.h
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -17,26 +17,26 @@ int hist_clear(history *hist); // Empty the history (freeing all events)
17
17
inthist_save(historyhist, FILE*out); // Write history out to file
18
18
inthist_load(FILE*in, size_tnents, history*hist); // Read history in from file. Not a mirror of hist_save, since it doesn't read nents itself (this is for reasons related to how loadgame functions)
19
19
20
-
inteva_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, constchar*ev); // Append an aircraft event to the history
21
-
intct_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype); // Append a CT (constructed) event to the history
22
-
intna_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, unsigned intnid); // Append a NA (navaid) event to the history
23
-
intpf_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype); // Append a PF (PFF assign) event to the history
24
-
intra_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, unsigned inttid); // Append a RA (raid targ) event to the history
25
-
inthi_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, unsigned inttid, unsigned intbmb); // Append a HI (hit targ) event to the history
26
-
intdmac_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, acidsrc); // Append a DM AC (damaged by aircraft) event to the history
27
-
intdmfk_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, unsigned intfid); // Append a DM FK (damaged by flak) event to the history
28
-
intdmtf_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, unsigned inttid); // Append a DM TF (damaged by target flak) event to the history
29
-
intfa_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype, unsigned intfa); // Append a FA (failed) event to the history
30
-
intcr_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype); // Append a CR (crashed) event to the history
31
-
intob_append(history*hist, dated, timet, acidid, boolftr, unsigned inttype); // Append an OB (obsolete) event to the history
20
+
inteva_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, constchar*ev); // Append an aircraft event to the history
21
+
intct_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype); // Append a CT (constructed) event to the history
22
+
intna_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, unsigned intnid); // Append a NA (navaid) event to the history
23
+
intpf_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype); // Append a PF (PFF assign) event to the history
24
+
intra_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, unsigned inttid); // Append a RA (raid targ) event to the history
25
+
inthi_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, unsigned inttid, unsigned intbmb); // Append a HI (hit targ) event to the history
26
+
intdmac_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, acidsrc); // Append a DM AC (damaged by aircraft) event to the history
27
+
intdmfk_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, unsigned intfid); // Append a DM FK (damaged by flak) event to the history
28
+
intdmtf_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, doubleddmg, doublecdmg, unsigned inttid); // Append a DM TF (damaged by target flak) event to the history
29
+
intfa_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype, unsigned intfa); // Append a FA (failed) event to the history
30
+
intcr_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype); // Append a CR (crashed) event to the history
31
+
intob_append(history*hist, dated, harris_timet, acidid, boolftr, unsigned inttype); // Append an OB (obsolete) event to the history
32
32
33
-
intevt_append(history*hist, dated, timet, unsigned inttid, constchar*ev); // Append a target event to the history
34
-
inttdm_append(history*hist, dated, timet, unsigned inttid, doubleddmg, doublecdmg); // Append a DM (damaged or repaired) event to the history
35
-
inttfk_append(history*hist, dated, timet, unsigned inttid, doubledflk, doublecflk); // Append a FK (flak-change) event to the history
36
-
inttsh_append(history*hist, dated, timet, unsigned inttid); // Append a SH (ship sunk) event to the history
33
+
intevt_append(history*hist, dated, harris_timet, unsigned inttid, constchar*ev); // Append a target event to the history
34
+
inttdm_append(history*hist, dated, harris_timet, unsigned inttid, doubleddmg, doublecdmg); // Append a DM (damaged or repaired) event to the history
35
+
inttfk_append(history*hist, dated, harris_timet, unsigned inttid, doubledflk, doublecflk); // Append a FK (flak-change) event to the history
36
+
inttsh_append(history*hist, dated, harris_timet, unsigned inttid); // Append a SH (ship sunk) event to the history
37
37
38
-
intevm_append(history*hist, dated, timet, constchar*ev); // Append a miscellaneous event to the history
39
-
intca_append(history*hist, dated, timet, unsigned intcshr, unsigned intcash); // Append a CA (cash) event to the history
40
-
intco_append(history*hist, dated, timet, doubleconfid); // Append a CO (confid) event to the history
41
-
intmo_append(history*hist, dated, timet, doublemorale); // Append a MO (morale) event to the history
42
-
intgp_append(history*hist, dated, timet, unsigned inticlass, doublegprod, doubledprod); // Append a GP (GProd) event to the history
38
+
intevm_append(history*hist, dated, harris_timet, constchar*ev); // Append a miscellaneous event to the history
39
+
intca_append(history*hist, dated, harris_timet, unsigned intcshr, unsigned intcash); // Append a CA (cash) event to the history
40
+
intco_append(history*hist, dated, harris_timet, doubleconfid); // Append a CO (confid) event to the history
41
+
intmo_append(history*hist, dated, harris_timet, doublemorale); // Append a MO (morale) event to the history
42
+
intgp_append(history*hist, dated, harris_timet, unsigned inticlass, doublegprod, doubledprod); // Append a GP (GProd) event to the history
0 commit comments