1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-11 02:30:32 +00:00

fix some compiler warnings (#423)

* Pedantic C compilers want an extern declaration separate from initialization

* Remove duplicate definitions for fns in initdspdefs.h from display.h

* Remove misleading comments on structure member offsets and reorder to minimize padding
This commit is contained in:
Nick Briggs
2022-07-20 10:18:59 -07:00
committed by GitHub
parent e81345218a
commit 77957d421a
6 changed files with 30 additions and 36 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/sh
cat <<EOF
#include <time.h>
time_t MDate = $(date +%s);
extern const time_t MDate;
const time_t MDate = $(date +%s);
EOF