Changeset f271129 for variable.c


Ignore:
Timestamp:
Jul 24, 2011, 9:01:57 PM (10 years ago)
Author:
Jason Gross <jgross@mit.edu>
Branches:
master, release-1.9
Children:
42247d8, b9517cf, 8c3cae0
Parents:
30428a9
git-author:
Jason Gross <jgross@mit.edu> (07/24/11 20:57:40)
git-committer:
Jason Gross <jgross@mit.edu> (07/24/11 21:01:57)
Message:
Fix up headers

The additions to owl.h and some of the removals were done by
Alejandro Sedeño <asedeno@mit.edu> in commit
77a0258b3919468fc9d7f7602588ac427ab36e6c.

Notes:

* I think owl.c lost the need for sys/time.h when we punted select() in
  favor of glib's main loop.
* We don't actually need to include things like stdarg.h, stdio.h,
  glib/gstdio.h, glib-object.h.  I think they get indirectly included
  via owl.h and/or glib.h.  They're left in (or added in to) the files
  that use functions/types from them.
* I'm not entirely sure what sys/socket.h is doing in message.c.  It
  is there from the initial commit.  I suspect it might have had
  something to do with the call to getnameinfo.  message.c compiles
  without it, but
  http://pubs.opengroup.org/onlinepubs/009695399/functions/getnameinfo.html
  suggests that we're supposed to include it?  *shrugs*  I'm leaving it
  in, for now.  (Rather, I'll leave one copy of the #include in.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r40de739 rf271129  
     1#include "owl.h"
    12#include <stdio.h>
    2 #include <stdlib.h>
    3 #include <string.h>
    4 #include <unistd.h>
    5 #include <ctype.h>
    6 #include "owl.h"
    73
    84#define OWLVAR_BOOL(name,default,summary,description) \
Note: See TracChangeset for help on using the changeset viewer.