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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user