mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Suppress gcc warning.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.17 2003/02/13 13:11:52 meskes Exp $ */
 | 
					/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.18 2003/02/13 18:13:22 tgl Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "postgres_fe.h"
 | 
					#include "postgres_fe.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -12,7 +12,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* This should hold the back-end error message from 
 | 
					/* This should hold the back-end error message from 
 | 
				
			||||||
 * the last back-end operation. */
 | 
					 * the last back-end operation. */
 | 
				
			||||||
char *ECPGerr;
 | 
					static char *ECPGerr;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
ECPGraise(int line, int code, const char *str)
 | 
					ECPGraise(int line, int code, const char *str)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,8 +6,9 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Here are some methods used by the lib. */
 | 
					/* Here are some methods used by the lib. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Stores the backend error message for client access */
 | 
					/* Store and retrieve the backend error message for client access */
 | 
				
			||||||
void set_backend_err(const char *err, int lineon);
 | 
					void set_backend_err(const char *err, int lineon);
 | 
				
			||||||
 | 
					char *ECPGerrmsg(void);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Returns a pointer to a string containing a simple type name. */
 | 
					/* Returns a pointer to a string containing a simple type name. */
 | 
				
			||||||
void		ECPGadd_mem(void *ptr, int lineno);
 | 
					void		ECPGadd_mem(void *ptr, int lineno);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user