From 1e33710fe67026f5e2c889020ce8549badf5aa8c Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 30 Sep 2009 16:35:02 +0200 Subject: make variable const (part of a patch from Andreas Schneider) --- dovecot-version.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dovecot-version.c b/dovecot-version.c index fbd1f89..7733e60 100644 --- a/dovecot-version.c +++ b/dovecot-version.c @@ -5,7 +5,8 @@ int main(int argc, char **argv) { - char *v = PACKAGE_STRING, *e; + const char *v = PACKAGE_STRING; + char *e; int maj = 0, min = 0, patch = 0; if (strncmp(v, "dovecot ", 8) && strncmp(v, "Dovecot ", 8)) -- cgit v1.2.3