logo       

rev 152 - in trunk: include/prothon src: msg#00022

Subject: rev 152 - in trunk: include/prothon src
Author: bcollins
Date: 2004-03-27 09:26:41 -0500 (Sat, 27 Mar 2004)
New Revision: 152

Modified:
   trunk/include/prothon/prothon.h
   trunk/src/main.c
Log:
Fix some warnings.


Modified: trunk/include/prothon/prothon.h
===================================================================
--- trunk/include/prothon/prothon.h     2004-03-27 09:00:48 UTC (rev 151)
+++ trunk/include/prothon/prothon.h     2004-03-27 14:26:41 UTC (rev 152)
@@ -178,7 +178,7 @@
 typedef pr_str_t* pr_str_p;
 
 typedef struct {
-       apr_os_thread_t*        apr_os_thread;
+       apr_os_thread_t         apr_os_thread;
        apr_thread_t*           apr_thread;
        int                                     main_id;
        int                                     running;

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c    2004-03-27 09:00:48 UTC (rev 151)
+++ trunk/src/main.c    2004-03-27 14:26:41 UTC (rev 152)
@@ -103,7 +103,7 @@
 static apr_threadattr_t *thread_attr = NULL;
 static apr_pool_t *thread_pool = NULL;
 
-static obj_p new_thread_obj(apr_thread_start_t thread_func, void *thread_data)
+obj_p new_thread_obj(apr_thread_start_t thread_func, void *thread_data)
 {
        apr_status_t aprerr;
        apr_thread_t *new_thread = NULL;
@@ -163,7 +163,7 @@
 
 int main(int argc, char *argv[]) {
        obj_p sys_argv_obj, main_argv_obj, threads, code_str_obj, 
main1_thread_obj;
-       pr_thread_p main1_thread_ptr;
+       pr_thread_p main1_thread_ptr = NULL;
        isp ist;
        apr_status_t aprerr;
        char buf[1024];
@@ -205,7 +205,7 @@
        sys_argv_obj = arginit(ist, argc, argv);
        sysinit(ist, argv[0], sys_argv_obj);
 
-       if (code_str_obj = get_attr(ist, sys_argv_obj, sym(ist, "code"))) {
+       if ((code_str_obj = get_attr(ist, sys_argv_obj, sym(ist, "code")))) {
                exec_string(ist, strch(code_str_obj), FALSE, NULL);
                check_exceptions(ist);
        }




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe