File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / dsap / common / attrt_cmp.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

#include "quipu/util.h"
#include "quipu/name.h"

#ifdef AttrT_cmp
#undef AttrT_cmp
#endif

AttrT_cmp_old (x,y)
register AttributeType x,y;
{
	if ( x == NULLAttrT )
		return (y ? -1 : 0);
	if ( y == NULLAttrT )
		return (1);

	if (x == y)
		return (0);

	return (x > y) ? 1 : -1;
}




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.