ld bug.
A couple namespace fixes to avoid problems with latest plib cvs on some
systems.
class fg_Cockpit {
private:
int Code;
- int Status;
+ int cockpitStatus;
public:
- fg_Cockpit () : Code(1), Status(0) {};
+ fg_Cockpit () : Code(1), cockpitStatus(0) {};
int code ( void ) { return Code; }
- int status( void ) { return Status; }
+ int status( void ) { return cockpitStatus; }
};
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM
+/* Define if you have the pthread library (-lpthread). */
+#undef HAVE_LIBPTHREAD
+
/* Define if you have the socket library (-lsocket). */
#undef HAVE_LIBSOCKET
/* List-stuff */
-const int True = 0;
-const int False= -1;
+const int listTrue = 0;
+const int listFalse= -1;
struct list_ele {
/* unsigned */ char ipadr[16], callsign[16];
int list_not_in( char name[16]) {
- i = True;
+ i = listTrue;
test = head->next;
- while ((test != tail) && (i==True)) {
- i = (strcmp(test->ipadr, name) ? True : False);
+ while ((test != tail) && (i==listTrue)) {
+ i = (strcmp(test->ipadr, name) ? listTrue : listFalse);
test = test->next;
if (verbose != 0) printf("list_not_in : %d\n",i);
}