[65380] trunk/base/src/cregistry

raimue at macports.org raimue at macports.org
Thu Mar 25 15:00:07 PDT 2010


Revision: 65380
          http://trac.macports.org/changeset/65380
Author:   raimue at macports.org
Date:     2010-03-25 15:00:07 -0700 (Thu, 25 Mar 2010)
Log Message:
-----------
cregistry: Use local includes

Modified Paths:
--------------
    trunk/base/src/cregistry/entry.c
    trunk/base/src/cregistry/registry.c
    trunk/base/src/cregistry/sql.c

Modified: trunk/base/src/cregistry/entry.c
===================================================================
--- trunk/base/src/cregistry/entry.c	2010-03-25 21:52:13 UTC (rev 65379)
+++ trunk/base/src/cregistry/entry.c	2010-03-25 22:00:07 UTC (rev 65380)
@@ -30,14 +30,14 @@
 #include <config.h>
 #endif
 
+#include "entry.h"
+#include "registry.h"
+#include "sql.h"
+
 #include <string.h>
 #include <stdlib.h>
 #include <sqlite3.h>
 
-#include <cregistry/entry.h>
-#include <cregistry/registry.h>
-#include <cregistry/sql.h>
-
 /*
  * TODO: possibly, allow reg_entry_search to take different matching strategies
  *       for different keys. I don't know of an application for this feature

Modified: trunk/base/src/cregistry/registry.c
===================================================================
--- trunk/base/src/cregistry/registry.c	2010-03-25 21:52:13 UTC (rev 65379)
+++ trunk/base/src/cregistry/registry.c	2010-03-25 22:00:07 UTC (rev 65380)
@@ -30,6 +30,9 @@
 #include <config.h>
 #endif
 
+#include "entry.h"
+#include "sql.h"
+
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
@@ -40,9 +43,6 @@
 #include <sys/stat.h>
 #include <errno.h>
 
-#include <cregistry/entry.h>
-#include <cregistry/sql.h>
-
 /*
  * TODO: maybe all the errPtrs could be made a property of `reg_registry`
  *       instead, and be destroyed with it? That would make memory-management

Modified: trunk/base/src/cregistry/sql.c
===================================================================
--- trunk/base/src/cregistry/sql.c	2010-03-25 21:52:13 UTC (rev 65379)
+++ trunk/base/src/cregistry/sql.c	2010-03-25 22:00:07 UTC (rev 65380)
@@ -30,14 +30,14 @@
 #include <config.h>
 #endif
 
+#include "registry.h"
+#include "sql.h"
+#include "vercomp.h"
+
 #include <tcl.h>
 #include <sqlite3.h>
 #include <time.h>
 
-#include <cregistry/registry.h>
-#include <cregistry/sql.h>
-#include <cregistry/vercomp.h>
-
 /*
  * TODO: maybe this could be made into something that could be separately loaded
  *       by sqlite3? It's a bit hard to query the registry with the command-line
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100325/985aad79/attachment.html>


More information about the macports-changes mailing list