Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeder Andersen2012-07-05 18:09:28 +0000
committerEugene Tarassov2012-08-01 16:15:34 +0000
commit8d7474846dbff8b9ce5762111416e8a92f981b61 (patch)
tree8d774964aaa4cd9b4662d9ecf9e235b0f8eab516 /agent/tcf/main/main_reg.c
parent373ec268ab6649211e13216a25735a5b23afa51f (diff)
downloadorg.eclipse.tcf.agent-8d7474846dbff8b9ce5762111416e8a92f981b61.tar.gz
org.eclipse.tcf.agent-8d7474846dbff8b9ce5762111416e8a92f981b61.tar.xz
org.eclipse.tcf.agent-8d7474846dbff8b9ce5762111416e8a92f981b61.zip
Agent: various compiler warning fixes
Includes fixes for VxWorks-specific logic, (missing function declarations, etc.) and in particular, typing for 64-bit platforms. Also fixes diab's reporting of unnecessary variable setting, and removes a few simple conditionals which always evaluate to true.
Diffstat (limited to 'agent/tcf/main/main_reg.c')
-rw-r--r--agent/tcf/main/main_reg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/tcf/main/main_reg.c b/agent/tcf/main/main_reg.c
index f77588ff..75d1239f 100644
--- a/agent/tcf/main/main_reg.c
+++ b/agent/tcf/main/main_reg.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
@@ -36,6 +36,7 @@
static const char * progname;
#if defined(_WRS_KERNEL)
+int tcf_registry(void);
int tcf_registry(void) {
#else
int main(int argc, char **argv) {

Back to the top