[seed] We only require libutil.h for FreeBSD, apparently



commit 8a6a84b1b9a5449d6239fbcbb15c3f4a6349f950
Author: Tim Horton <hortont424 gmail com>
Date:   Tue May 17 12:45:48 2011 -0400

    We only require libutil.h for FreeBSD, apparently

 doc/reference/tmpl/seed-context.sgml |   28 ++++++++++++++--------------
 doc/reference/tmpl/seed-eval.sgml    |    2 +-
 doc/reference/tmpl/seed-jsclass.sgml |    2 +-
 doc/reference/tmpl/seed-object.sgml  |    8 ++++----
 modules/os/seed-os.c                 |    4 +---
 5 files changed, 21 insertions(+), 23 deletions(-)
---
diff --git a/doc/reference/tmpl/seed-context.sgml b/doc/reference/tmpl/seed-context.sgml
index 38435b8..edf9908 100644
--- a/doc/reference/tmpl/seed-context.sgml
+++ b/doc/reference/tmpl/seed-context.sgml
@@ -57,9 +57,9 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- group:
- global_class:
- Returns:
+ group: 
+ global_class: 
+ Returns: 
 
 
 <!-- ##### FUNCTION seed_context_ref ##### -->
@@ -67,8 +67,8 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
- Returns:
+ ctx: 
+ Returns: 
 
 
 <!-- ##### FUNCTION seed_context_unref ##### -->
@@ -76,7 +76,7 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
+ ctx: 
 
 
 <!-- ##### FUNCTION seed_context_collect ##### -->
@@ -84,7 +84,7 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
+ ctx: 
 
 
 <!-- ##### FUNCTION seed_context_get_global_object ##### -->
@@ -92,8 +92,8 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
- Returns:
+ ctx: 
+ Returns: 
 
 
 <!-- ##### FUNCTION seed_prepare_global_context ##### -->
@@ -101,7 +101,7 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
+ ctx: 
 
 
 <!-- ##### FUNCTION seed_importer_add_global ##### -->
@@ -109,8 +109,8 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
- name:
+ ctx: 
+ name: 
 
 
 <!-- ##### FUNCTION seed_importer_set_search_path ##### -->
@@ -118,7 +118,7 @@ script = seed_make_script(ctx, "print(imports)", NULL, 0);
 
 </para>
 
- ctx:
- search_path:
+ ctx: 
+ search_path: 
 
 
diff --git a/doc/reference/tmpl/seed-eval.sgml b/doc/reference/tmpl/seed-eval.sgml
index a9fbca6..f3fbecd 100644
--- a/doc/reference/tmpl/seed-eval.sgml
+++ b/doc/reference/tmpl/seed-eval.sgml
@@ -81,7 +81,7 @@ seed_simple_evaluate(eng->context, "print('Hello, world!')", NULL);
 
 @ctx: 
 @s: 
- this: 
+ this_object: 
 @Returns: 
 
 
diff --git a/doc/reference/tmpl/seed-jsclass.sgml b/doc/reference/tmpl/seed-jsclass.sgml
index 8a75ad3..c0ea39b 100644
--- a/doc/reference/tmpl/seed-jsclass.sgml
+++ b/doc/reference/tmpl/seed-jsclass.sgml
@@ -76,7 +76,7 @@ to work with future versions of JSCore).
 </para>
 
 @ctx: 
- class: 
+ klass: 
 @constructor: 
 @Returns: 
 
diff --git a/doc/reference/tmpl/seed-object.sgml b/doc/reference/tmpl/seed-object.sgml
index 63817e8..ba8635a 100644
--- a/doc/reference/tmpl/seed-object.sgml
+++ b/doc/reference/tmpl/seed-object.sgml
@@ -32,8 +32,8 @@ Long description
 </para>
 
 @ctx: 
- class: 
- private: 
+ klass: 
+ private_object: 
 @Returns: 
 
 
@@ -56,7 +56,7 @@ Long description
 
 @ctx: 
 @object: 
- this: 
+ this_object: 
 @argument_count: 
 @arguments: 
 @exception: 
@@ -94,7 +94,7 @@ Long description
 
 @ctx: 
 @obj: 
- class: 
+ klass: 
 @Returns: 
 
 
diff --git a/modules/os/seed-os.c b/modules/os/seed-os.c
index 998d3d6..b1639bc 100644
--- a/modules/os/seed-os.c
+++ b/modules/os/seed-os.c
@@ -36,9 +36,7 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <termios.h>
-#if defined(__OpenBSD__)
-#include <util.h>
-#elif defined(__FreeBSD__)
+#if defined(__FreeBSD__)
 #include <libutil.h>
 #endif
 #include <unistd.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]