*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.62 1998/09/23 04:22:02 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.63 1998/10/26 00:59:21 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* Reads input from fp until an end of line is seen.
*/
-void
+static void
CopyReadNewline(FILE *fp, int *newline)
{
if (!*newline)
* Routines for handling of 'SET var TO',
* 'SHOW var' and 'RESET var' statements.
*
- * $Id: variable.c,v 1.16 1998/10/14 05:09:58 momjian Exp $
+ * $Id: variable.c,v 1.17 1998/10/26 00:59:22 tgl Exp $
*
*/
return TRUE;
}
-bool
+static bool
show_cost_heap()
{
return TRUE;
}
-bool
+static bool
show_cost_index()
{
return TRUE;
}
-bool
+static bool
reset_date()
{
DateStyle = USE_POSTGRES_DATES;
* in a core dump (under Linux anyway).
* - thomas 1998-01-26
*/
-bool
+static bool
reset_timezone()
{
/* no time zone has been set in this session? */
reset_query_limit();
return(TRUE);
}
- limit = pg_atoi(value, sizeof(int32), '\0');
+ /* why is pg_atoi's arg not declared "const char *" ? */
+ limit = pg_atoi((char *) value, sizeof(int32), '\0');
if (limit <= -1) {
elog(ERROR, "Bad value for # of query limit (%s)", value);
}
return TRUE;
}
-bool
+static bool
reset_ksqo()
{
_use_keyset_query_optimizer = false;
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.34 1998/09/01 04:31:45 momjian Exp $
+ * $Id: fd.c,v 1.35 1998/10/26 01:00:13 tgl Exp $
*
* NOTES:
*
#define fsync pg_fsync
-long
+static long
pg_nofile(void)
{
static long no_files = 0;