diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-05 22:19:37 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-05 22:19:37 +0300 |
commit | 1a5850f8ccb916e3bc3c4504f528b25a0c422c86 (patch) | |
tree | d110fbaecf7e5a1217384a159038aecda054e4db /tecbuf.c | |
parent | 05826b51ec41ae091756087bc734931c071e9221 (diff) | |
download | videoteco-fork-1a5850f8ccb916e3bc3c4504f528b25a0c422c86.tar.gz |
automatically use the current date when building with Autotools
* It's actually the time of running ./configure that will be used.
* On OpenWatcom, it does not seem to be possible to set variables
based on external processes, so you will still have to update
AUTO_DATE in teco.h when releasing for DOS.
Diffstat (limited to 'tecbuf.c')
-rw-r--r-- | tecbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ struct buff_header *buff_create( char *name, char internal_flag ); #include "teco.h" #include "tecparse.h" -char rcs_date[] = AUTO_DATE; +static const char rcs_date[] = AUTO_DATE; /* * Global Storage is defined here for lack of a better place. @@ -1075,7 +1075,7 @@ register struct buff_header *hbp; char tmp_buffer[LINE_BUFFER_SIZE],padd_buffer[LINE_BUFFER_SIZE]; register int i; int count; -register char *cp; +register const char *cp; int max_length; PREAMBLE(); |