lkml.org 
[lkml]   [2003]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.0-test6
    Russell King wrote:

    > If a header has something like these:
    >
    > struct my_headers_struct {
    > struct task_struct *tsk;
    > };
    >
    > void my_function(struct task_struct *tsk);
    >
    > and gcc warns that "struct task_struct" has not been declared, please
    > don't think about adding another header. Just declare the structure
    > in the header file which needs it like this:
    >
    > struct task_struct;

    If I do that, make a change to task_struct, then run make, will the file
    get rebuilt?

    Chris


    --
    Chris Friesen | MailStop: 043/33/F10
    Nortel Networks | work: (613) 765-0557
    3500 Carling Avenue | fax: (613) 765-2986
    Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:48    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site