Change declaration of yp_errno from int to enum ypstat so that it

matches what's in ypserv/yp_extern.h (which I changed when I added the
async DNS stuff). The conflict broke the build of rpc.yppasswdd.

Pointed out by: bde
This commit is contained in:
Bill Paul 1996-12-23 18:15:41 +00:00
parent 227f0dcea5
commit a2e787bff1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20862

View File

@ -29,12 +29,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ypxfr_extern.h,v 1.7 1996/06/03 03:10:42 wpaul Exp wpaul $
* $Id: ypxfr_extern.h,v 1.3 1996/10/25 16:13:04 wpaul Exp $
*/
#include <sys/types.h>
#include <limits.h>
#include <paths.h>
#include <db.h>
#include <rpcsvc/yp.h>
extern HASHINFO openinfo;
extern BTREEINFO openinfo_b;
@ -45,7 +46,7 @@ extern BTREEINFO openinfo_b;
extern char *yp_dir;
extern int debug;
extern int yp_errno;
extern enum ypstat yp_errno;
extern void yp_error __P(( const char *, ... ));
extern int _yp_check __P(( char ** ));
extern char *ypxfrerr_string __P(( ypxfrstat ));