/*
- * Copyright (c) 2006 Apple Computer, Inc. All Rights Reserved.
- *
+ * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ *
* @APPLE_LICENSE_OSREFERENCE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
*
* File: cfg.c
*/
+
+#ifdef AURP_SUPPORT
+
#define RESOLVE_DBG
#include <sys/errno.h>
#include <sys/types.h>
#include <netat/at_pcb.h>
#include <netat/aurp.h>
-extern atlock_t aurpgen_lock;
static int aurp_inited = 0;
static char aurp_minor_no[4];
extern void AURPcmdx();
int i;
- if (!aurp_inited) {
+ if (!aurp_inited)
aurp_inited = 1;
- ATLOCKINIT(aurpgen_lock);
- }
for (i=1; i < sizeof(aurp_minor_no); i++) {
if (aurp_minor_no[i] == 0) {
gref->info = 0;
return 0;
}
+
+#endif /* AURP_SUPPORT */