[launchd-changes] [23253] trunk/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 11 15:04:44 PDT 2007
Revision: 23253
http://trac.macosforge.org/projects/launchd/changeset/23253
Author: zarzycki at apple.com
Date: 2007-05-11 15:04:44 -0700 (Fri, 11 May 2007)
Log Message:
-----------
Better symbol exports.
Modified Paths:
--------------
trunk/launchd/src/launchd_core_logic.c
Modified: trunk/launchd/src/launchd_core_logic.c
===================================================================
--- trunk/launchd/src/launchd_core_logic.c 2007-05-10 22:34:45 UTC (rev 23252)
+++ trunk/launchd/src/launchd_core_logic.c 2007-05-11 22:04:44 UTC (rev 23253)
@@ -127,7 +127,7 @@
#define PORT_HASH_SIZE 32
#define HASH_PORT(x) (IS_POWER_OF_TWO(PORT_HASH_SIZE) ? (MACH_PORT_INDEX(x) & (PORT_HASH_SIZE - 1)) : (MACH_PORT_INDEX(x) % PORT_HASH_SIZE))
-LIST_HEAD(, machservice) port_hash[PORT_HASH_SIZE];
+static LIST_HEAD(, machservice) port_hash[PORT_HASH_SIZE];
static void machservice_setup(launch_data_t obj, const char *key, void *context);
static void machservice_setup_options(launch_data_t obj, const char *key, void *context);
@@ -332,7 +332,7 @@
#define LABEL_HASH_SIZE 53
-LIST_HEAD(, job_s) label_hash[LABEL_HASH_SIZE];
+static LIST_HEAD(, job_s) label_hash[LABEL_HASH_SIZE];
static size_t hash_label(const char *label) __attribute__((pure));
static size_t hash_ms(const char *msstr) __attribute__((pure));
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070511/861e3155/attachment.html
More information about the launchd-changes
mailing list