Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-12-16 01:05:53 +0000
committerEugene Tarassov2017-12-16 01:05:53 +0000
commitd52c8f88d5c4823b4f46fc515a259da20511c69d (patch)
tree1152c54d8d0f2ce4e3ef4eefcbeab84adecba1c9
parenta696df918c39c9608511476c6f6fdcb1e8839127 (diff)
downloadorg.eclipse.tcf.agent-d52c8f88d5c4823b4f46fc515a259da20511c69d.tar.gz
org.eclipse.tcf.agent-d52c8f88d5c4823b4f46fc515a259da20511c69d.tar.xz
org.eclipse.tcf.agent-d52c8f88d5c4823b4f46fc515a259da20511c69d.zip
TCF Agent: remove redundant includes in the matching c/h-files
-rw-r--r--agent/tcf/framework/asyncreq.c3
-rw-r--r--agent/tcf/framework/channel_lws.c1
-rw-r--r--agent/tcf/framework/channel_pipe.c1
-rw-r--r--agent/tcf/framework/channel_tcp.c3
-rw-r--r--agent/tcf/framework/shutdown.c3
-rw-r--r--agent/tcf/framework/trace.c3
-rw-r--r--agent/tcf/services/breakpoints.c5
-rw-r--r--agent/tcf/services/diagnostics.c4
-rw-r--r--agent/tcf/services/discovery.c5
-rw-r--r--agent/tcf/services/dwarfcache.c3
-rw-r--r--agent/tcf/services/expressions.c4
-rw-r--r--agent/tcf/services/filesystem.c3
-rw-r--r--agent/tcf/services/linenumbers.c4
-rw-r--r--agent/tcf/services/processes.c1
-rw-r--r--agent/tcf/services/profiler_sst.c3
-rw-r--r--agent/tcf/services/registers.c4
-rw-r--r--agent/tcf/services/registers.h4
-rw-r--r--agent/tcf/services/runctrl.c5
-rw-r--r--agent/tcf/services/stacktrace.c2
-rw-r--r--agent/tcf/services/sysmon.c3
-rw-r--r--agent/tcf/services/terminals.c3
21 files changed, 18 insertions, 49 deletions
diff --git a/agent/tcf/framework/asyncreq.c b/agent/tcf/framework/asyncreq.c
index 5f2efbe0..6a039ee6 100644
--- a/agent/tcf/framework/asyncreq.c
+++ b/agent/tcf/framework/asyncreq.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -35,7 +35,6 @@
#include <tcf/framework/mdep-fs.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/trace.h>
-#include <tcf/framework/events.h>
#include <tcf/framework/errors.h>
#include <tcf/framework/link.h>
#include <tcf/framework/asyncreq.h>
diff --git a/agent/tcf/framework/channel_lws.c b/agent/tcf/framework/channel_lws.c
index 444d828a..6b2b1a4d 100644
--- a/agent/tcf/framework/channel_lws.c
+++ b/agent/tcf/framework/channel_lws.c
@@ -39,7 +39,6 @@
#include <tcf/framework/mdep-fs.h>
#include <tcf/framework/mdep-inet.h>
#include <tcf/framework/tcf.h>
-#include <tcf/framework/channel.h>
#include <tcf/framework/channel_lws.h>
#include <tcf/framework/channel_lws_ext.h>
#include <tcf/framework/myalloc.h>
diff --git a/agent/tcf/framework/channel_pipe.c b/agent/tcf/framework/channel_pipe.c
index 597bc53a..7f25e04b 100644
--- a/agent/tcf/framework/channel_pipe.c
+++ b/agent/tcf/framework/channel_pipe.c
@@ -25,7 +25,6 @@
#include <errno.h>
#include <assert.h>
#include <tcf/framework/mdep-fs.h>
-#include <tcf/framework/channel.h>
#include <tcf/framework/channel_pipe.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/protocol.h>
diff --git a/agent/tcf/framework/channel_tcp.c b/agent/tcf/framework/channel_tcp.c
index e74e4874..7901bdc1 100644
--- a/agent/tcf/framework/channel_tcp.c
+++ b/agent/tcf/framework/channel_tcp.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -47,7 +47,6 @@
#include <tcf/framework/mdep-fs.h>
#include <tcf/framework/mdep-inet.h>
#include <tcf/framework/tcf.h>
-#include <tcf/framework/channel.h>
#include <tcf/framework/channel_tcp.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/protocol.h>
diff --git a/agent/tcf/framework/shutdown.c b/agent/tcf/framework/shutdown.c
index 42f74525..b01e06dd 100644
--- a/agent/tcf/framework/shutdown.c
+++ b/agent/tcf/framework/shutdown.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012, 2013 Xilinx, Inc. and others.
+ * Copyright (c) 2012-2017 Xilinx, 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.
@@ -18,7 +18,6 @@
*/
#include <tcf/config.h>
-#include <tcf/framework/link.h>
#include <tcf/framework/trace.h>
#include <tcf/framework/events.h>
#include <tcf/framework/shutdown.h>
diff --git a/agent/tcf/framework/trace.c b/agent/tcf/framework/trace.c
index 1f41d098..38d09bae 100644
--- a/agent/tcf/framework/trace.c
+++ b/agent/tcf/framework/trace.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2013, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -22,7 +22,6 @@ int log_mode = LOG_EVENTS | LOG_CHILD | LOG_WAITPID | LOG_CONTEXT | LOG_PROTOCOL
#include <stdlib.h>
#include <stdarg.h>
-#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <tcf/framework/mdep-threads.h>
diff --git a/agent/tcf/services/breakpoints.c b/agent/tcf/services/breakpoints.c
index 971f7666..4589e411 100644
--- a/agent/tcf/services/breakpoints.c
+++ b/agent/tcf/services/breakpoints.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -27,11 +27,8 @@
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include <tcf/framework/channel.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/errors.h>
#include <tcf/framework/trace.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/exceptions.h>
#include <tcf/framework/cache.h>
diff --git a/agent/tcf/services/diagnostics.c b/agent/tcf/services/diagnostics.c
index 22b5eb81..477658b4 100644
--- a/agent/tcf/services/diagnostics.c
+++ b/agent/tcf/services/diagnostics.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2016 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -23,10 +23,8 @@
#include <assert.h>
#include <stdio.h>
#include <string.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/json.h>
#include <tcf/framework/exceptions.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/cache.h>
#if ENABLE_Symbols
diff --git a/agent/tcf/services/discovery.c b/agent/tcf/services/discovery.c
index 7557bfde..66f7eede 100644
--- a/agent/tcf/services/discovery.c
+++ b/agent/tcf/services/discovery.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2013 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -23,8 +23,6 @@
#include <errno.h>
#include <assert.h>
#include <string.h>
-#include <tcf/framework/protocol.h>
-#include <tcf/framework/channel.h>
#include <tcf/framework/proxy.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/events.h>
@@ -35,7 +33,6 @@
#include <tcf/framework/peer.h>
#include <tcf/services/discovery.h>
#include <tcf/services/discovery_udp.h>
-#include <tcf/framework/protocol.h>
#if SERVICE_Locator
diff --git a/agent/tcf/services/dwarfcache.c b/agent/tcf/services/dwarfcache.c
index 54d031d7..0fcc707d 100644
--- a/agent/tcf/services/dwarfcache.c
+++ b/agent/tcf/services/dwarfcache.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2015 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -28,7 +28,6 @@
#include <tcf/framework/myalloc.h>
#include <tcf/framework/trace.h>
#include <tcf/services/dwarf.h>
-#include <tcf/services/dwarfio.h>
#include <tcf/services/dwarfcache.h>
#include <tcf/services/dwarfexpr.h>
#include <tcf/services/stacktrace.h>
diff --git a/agent/tcf/services/expressions.c b/agent/tcf/services/expressions.c
index 597b6826..6dc0f02f 100644
--- a/agent/tcf/services/expressions.c
+++ b/agent/tcf/services/expressions.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -43,9 +43,7 @@
#include <tcf/framework/json.h>
#include <tcf/framework/cache.h>
#include <tcf/framework/trace.h>
-#include <tcf/framework/context.h>
#include <tcf/services/runctrl.h>
-#include <tcf/services/symbols.h>
#include <tcf/services/funccall.h>
#include <tcf/services/stacktrace.h>
#include <tcf/services/memoryservice.h>
diff --git a/agent/tcf/services/filesystem.c b/agent/tcf/services/filesystem.c
index 60734ea3..3993e1b9 100644
--- a/agent/tcf/services/filesystem.c
+++ b/agent/tcf/services/filesystem.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -50,7 +50,6 @@
#include <tcf/framework/trace.h>
#include <tcf/framework/json.h>
#include <tcf/framework/exceptions.h>
-#include <tcf/framework/protocol.h>
#include <tcf/services/filesystem.h>
#define BUF_SIZE (128 * MEM_USAGE_FACTOR)
diff --git a/agent/tcf/services/linenumbers.c b/agent/tcf/services/linenumbers.c
index e9d2a8fe..ef014283 100644
--- a/agent/tcf/services/linenumbers.c
+++ b/agent/tcf/services/linenumbers.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2016 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -27,12 +27,10 @@
#include <errno.h>
#include <assert.h>
#include <stdio.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/exceptions.h>
#include <tcf/framework/cache.h>
#include <tcf/framework/json.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/trace.h>
#include <tcf/services/linenumbers.h>
diff --git a/agent/tcf/services/processes.c b/agent/tcf/services/processes.c
index b40ed9a4..af127985 100644
--- a/agent/tcf/services/processes.c
+++ b/agent/tcf/services/processes.c
@@ -40,7 +40,6 @@
#include <assert.h>
#include <tcf/framework/mdep-fs.h>
#include <tcf/framework/myalloc.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/trace.h>
#include <tcf/framework/context.h>
#include <tcf/framework/json.h>
diff --git a/agent/tcf/services/profiler_sst.c b/agent/tcf/services/profiler_sst.c
index 56037527..c4a5f867 100644
--- a/agent/tcf/services/profiler_sst.c
+++ b/agent/tcf/services/profiler_sst.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2013, 2017 Xilinx, Inc. and others.
+ * Copyright (c) 2013-2017 Xilinx, 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.
@@ -25,7 +25,6 @@
#include <tcf/framework/json.h>
#include <tcf/framework/cache.h>
#include <tcf/framework/myalloc.h>
-#include <tcf/framework/context.h>
#include <tcf/services/runctrl.h>
#include <tcf/services/stacktrace.h>
#include <tcf/services/profiler.h>
diff --git a/agent/tcf/services/registers.c b/agent/tcf/services/registers.c
index 986e12a0..2f7677fa 100644
--- a/agent/tcf/services/registers.c
+++ b/agent/tcf/services/registers.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2013 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -26,8 +26,6 @@
#include <stdio.h>
#include <assert.h>
#include <tcf/framework/myalloc.h>
-#include <tcf/framework/protocol.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/json.h>
#include <tcf/framework/cache.h>
#include <tcf/framework/exceptions.h>
diff --git a/agent/tcf/services/registers.h b/agent/tcf/services/registers.h
index 038d52fe..2a342adc 100644
--- a/agent/tcf/services/registers.h
+++ b/agent/tcf/services/registers.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -25,7 +25,7 @@
#if SERVICE_Registers
#include <tcf/framework/protocol.h>
-#include <tcf/framework/cpudefs.h>
+#include <tcf/framework/context.h>
/*
* Notify clients about register value change.
diff --git a/agent/tcf/services/runctrl.c b/agent/tcf/services/runctrl.c
index 047b8be6..85fa9d0f 100644
--- a/agent/tcf/services/runctrl.c
+++ b/agent/tcf/services/runctrl.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -26,13 +26,10 @@
#include <signal.h>
#include <errno.h>
#include <assert.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/channel.h>
#include <tcf/framework/json.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/trace.h>
-#include <tcf/framework/events.h>
#include <tcf/framework/exceptions.h>
#include <tcf/framework/signames.h>
#include <tcf/framework/cache.h>
diff --git a/agent/tcf/services/stacktrace.c b/agent/tcf/services/stacktrace.c
index ca2b385d..41e6e2d7 100644
--- a/agent/tcf/services/stacktrace.c
+++ b/agent/tcf/services/stacktrace.c
@@ -27,9 +27,7 @@
#include <string.h>
#include <assert.h>
#include <tcf/framework/myalloc.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/trace.h>
-#include <tcf/framework/context.h>
#include <tcf/framework/json.h>
#include <tcf/framework/cache.h>
#include <tcf/framework/exceptions.h>
diff --git a/agent/tcf/services/sysmon.c b/agent/tcf/services/sysmon.c
index a8f549ad..18902f38 100644
--- a/agent/tcf/services/sysmon.c
+++ b/agent/tcf/services/sysmon.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2007-2017 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.
@@ -25,7 +25,6 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <tcf/framework/mdep-fs.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/exceptions.h>
#include <tcf/framework/myalloc.h>
#include <tcf/framework/json.h>
diff --git a/agent/tcf/services/terminals.c b/agent/tcf/services/terminals.c
index 522d1d27..be160b2e 100644
--- a/agent/tcf/services/terminals.c
+++ b/agent/tcf/services/terminals.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2014, 2017 Wind River Systems, Inc. and others.
+ * Copyright (c) 2008-2017, 2017 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.
@@ -31,7 +31,6 @@
#include <assert.h>
#include <tcf/framework/mdep-fs.h>
#include <tcf/framework/myalloc.h>
-#include <tcf/framework/protocol.h>
#include <tcf/framework/trace.h>
#include <tcf/framework/context.h>
#include <tcf/framework/json.h>

Back to the top