minor include issues

carter at qosient.com carter at qosient.com
Tue Sep 19 21:05:38 EDT 2006


Not sure I understand the suggestion of
#include "unistd.h"

What's wrong with
#include <unistd.h>
?

Carter
Carter Bullard
QoSient LLC
150 E. 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax  

-----Original Message-----
From: mnewton at stanford.edu (MN)
Date: Tue, 19 Sep 2006 17:39:21 
To:argus-info at lists.andrew.cmu.edu
Subject: [ARGUS] minor include issues


Hi - minor points for rc29 clients:

1: rastrip.c does not use rastrip.h, but there is a rastrip.h.  It 
   should probably be deleted.

2: the includes near the start of rastrip.c should probably not be:

    #include <unistd.h>
    #include <stdlib.h>

    #include <rabins.h>
    #include <argus_util.h>
    #include <argus_client.h>
    #include <argus_main.h>
    #include <signal.h>
    #include <ctype.h>

, but rather:

    #include "unistd.h"
    #include "stdlib.h"

    #include <rabins.h>
    #include <argus_util.h>
    #include <argus_client.h>
    #include <argus_main.h>
    #include "signal.h"
    #include "ctype.h"

- mike



More information about the argus mailing list