Index: src/backend/port/win32/sema.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/port/win32/sema.c,v
retrieving revision 1.12
diff -u -r1.12 sema.c
--- src/backend/port/win32/sema.c	5 Mar 2006 15:58:35 -0000	1.12
+++ src/backend/port/win32/sema.c	7 Apr 2006 23:24:52 -0000
@@ -134,6 +134,7 @@
 	HANDLE	   *sem_handles = NULL;
 	int		   *sem_counts = NULL;
 	int			i;
+	win32_sem_set_hdr *new_set;
 
 	sec_attrs.nLength = sizeof(sec_attrs);
 	sec_attrs.lpSecurityDescriptor = NULL;
@@ -144,7 +145,7 @@
 
 	strcpy(num_part, _itoa(_getpid() * -1, cur_num, 10));		/* For shared memory,
 																 * include the pid */
-	win32_sem_set_hdr *new_set = (win32_sem_set_hdr *) ShmemInitStruct(semname, sem_set_size, &found);
+	new_set = (win32_sem_set_hdr *) ShmemInitStruct(semname, sem_set_size, &found);
 
 	if (found)
 	{
Index: src/timezone/localtime.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/timezone/localtime.c,v
retrieving revision 1.12
diff -u -r1.12 localtime.c
--- src/timezone/localtime.c	15 Oct 2005 02:49:51 -0000	1.12
+++ src/timezone/localtime.c	9 Apr 2006 11:40:51 -0000
@@ -86,7 +86,7 @@
 static void localsub(const pg_time_t *timep, long offset, struct pg_tm * tmp, const pg_tz *tz);
 static void timesub(const pg_time_t *timep, long offset,
 		const struct state * sp, struct pg_tm * tmp);
-static pg_time_t transtime(pg_time_t janfirst, int year,
+static pg_time_t transtime(const pg_time_t janfirst, int year,
 		  const struct rule * rulep, long offset);
 int			tzparse(const char *name, struct state * sp, int lastditch);
 
