[K42-discussion] [PATCH] Removed gcc4 warning for anonymous struct type

Donour Sizemore donour at cs.unm.edu
Tue Sep 5 05:07:57 EST 2006


Signed-off-by: Donour Sizemore <donour at milhouse.localdomain>
---
  os/servers/traced/traced.C |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/os/servers/traced/traced.C b/os/servers/traced/traced.C
index e2830dd..7f2249a 100644
--- a/os/servers/traced/traced.C
+++ b/os/servers/traced/traced.C
@@ -46,7 +46,7 @@ uval verbose;
  FileLinuxRef traceFileRef[MAX_CPUS];
  DiskTrace *diskTrace = NULL;

-struct {
+struct traceNetwork_t{
      int sockfd;
      struct sockaddr_in dest; /* REMOVEME: see comment in setUpNetwork() */
      uint64_t seqnum;
-- 
1.4.1.1




More information about the K42-discussion mailing list