aboutsummaryrefslogtreecommitdiff
path: root/tecbuf.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-05 22:19:37 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-05 22:19:37 +0300
commit1a5850f8ccb916e3bc3c4504f528b25a0c422c86 (patch)
treed110fbaecf7e5a1217384a159038aecda054e4db /tecbuf.c
parent05826b51ec41ae091756087bc734931c071e9221 (diff)
downloadvideoteco-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tecbuf.c b/tecbuf.c
index 03c1983..1bdfb13 100644
--- a/tecbuf.c
+++ b/tecbuf.c
@@ -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();