From 81f2f81960a673126aed3599fa38d0142342cb48 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 13 Oct 1996 18:39:41 +0000 Subject: [PATCH] Removed const warning. --- src/backend/utils/error/elog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index d9f618c8e3..f9400c4b92 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.5 1996/08/14 05:03:47 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.6 1996/10/13 18:39:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -46,7 +46,8 @@ elog(int lev, const char *fmt, ... ) { va_list ap; char buf[ELOG_MAXLEN], line[ELOG_MAXLEN]; - register char *bp, *cp; + register char *bp; + register const char *cp; extern int errno, sys_nerr; #if !defined(PORTNAME_BSD44_derived) && \ !defined(PORTNAME_bsdi) && \ -- 2.40.0