Clean up some minor compile warnings.

This commit is contained in:
Tom Lane 1999-02-07 22:07:02 +00:00
parent 5212ef8e46
commit f280266985
4 changed files with 15 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $Id: inet_aton.c,v 1.15 1998/09/01 03:24:28 momjian Exp $
/* $Id: inet_aton.c,v 1.16 1999/02/07 22:07:02 tgl Exp $
*
* This inet_aton() function was taken from the GNU C library and
* incorporated into Postgres for those systems which do not have this
@ -42,6 +42,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. */
#include "config.h"
#include <sys/types.h>
#include <netinet/in.h>
#include <ctype.h>

View File

@ -1,8 +1,10 @@
/* $Id: random.c,v 1.5 1998/09/01 03:24:30 momjian Exp $ */
/* $Id: random.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
#include <stdlib.h>
#include <math.h> /* for pow() prototype */
#include <errno.h>
#include "config.h"
#include "rusagestub.h"
long

View File

@ -1,8 +1,10 @@
/* $Id: srandom.c,v 1.5 1998/02/26 04:34:14 momjian Exp $ */
/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */
#include <stdlib.h>
#include <math.h> /* for pow() prototype */
#include <errno.h>
#include "config.h"
#include "rusagestub.h"
void

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.21 1998/10/08 18:30:14 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.22 1999/02/07 22:06:01 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -277,7 +277,8 @@ load_file(char *filename)
handle_load(filename, (char *) NULL);
}
/* Is this used? bjm 1998/10/08 */
/* Is this used? bjm 1998/10/08 No. tgl 1999/02/07 */
#ifdef NOT_USED
func_ptr
trigger_dynamic(char *filename, char *funcname)
{
@ -287,3 +288,4 @@ trigger_dynamic(char *filename, char *funcname)
return trigger_fn;
}
#endif