From nobody@FreeBSD.org  Tue Jul 24 04:51:48 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5498A37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Jul 2001 04:51:48 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f6OBpmU35396;
	Tue, 24 Jul 2001 04:51:48 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200107241151.f6OBpmU35396@freefall.freebsd.org>
Date: Tue, 24 Jul 2001 04:51:48 -0700 (PDT)
From: Cristan Szmajda <cristan@unsw.edu.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: src/libexec/ypxfr/ypxfr_getmap.c:51: conflicting types in declaration of `yp_errno'. 
X-Send-Pr-Version: www-1.0

>Number:         29190
>Category:       bin
>Synopsis:       src/libexec/ypxfr/ypxfr_getmap.c:51: conflicting types in declaration of `yp_errno'.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 24 05:00:30 PDT 2001
>Closed-Date:    Mon Jul 30 17:00:19 PDT 2001
>Last-Modified:  Mon Jul 30 17:00:26 PDT 2001
>Originator:     Cristan Szmajda
>Release:        -current
>Organization:
UNSW
>Environment:
FreeBSD jocasta 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Jul 20 16:34:26 EST 2001     cls@jocasta:/usr/src/sys/i386/compile/JOCASTA  i386

>Description:
"yp_errno" is declared "enum ypstat" in src/libexec/ypxfr/ypxfr_extern.h
but "int" in src/libexec/ypxfr/ypxfr_getmap.c . 
>How-To-Repeat:
make buildworld
>Fix:
Change:

    extern int yp_errno;

on line 51 of src/libexec/ypxfr/ypxfr_getmap.c to:

    extern enum ypstat      yp_errno;


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dd 
State-Changed-When: Tue Jul 24 05:33:11 PDT 2001 
State-Changed-Why:  
fixed, thanks! 


Responsible-Changed-From-To: freebsd-bugs->dd 
Responsible-Changed-By: dd 
Responsible-Changed-When: Tue Jul 24 05:33:11 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29190 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dd 
State-Changed-When: Mon Jul 30 17:00:19 PDT 2001 
State-Changed-Why:  
MFC'd 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29190 
>Unformatted:
