Remove unused types and definitions from abstraction layer
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
		
							parent
							
								
									e25656a4c5
								
							
						
					
					
						commit
						5835a85dc2
					
				
					 27 changed files with 51 additions and 453 deletions
				
			
		| 
						 | 
				
			
			@ -305,9 +305,9 @@ int spdp_write (struct participant *pp)
 | 
			
		|||
 | 
			
		||||
    os_gethostname(node, sizeof(node)-1);
 | 
			
		||||
    node[sizeof(node)-1] = '\0';
 | 
			
		||||
    size = strlen(node) + strlen(OSPL_VERSION_STR) + strlen(OSPL_HOST_STR) + strlen(OSPL_TARGET_STR) + 4; /* + ///'\0' */
 | 
			
		||||
    size = strlen(node) + strlen(OS_VERSION) + strlen(OS_HOST_NAME) + strlen(OS_TARGET_NAME) + 4; /* + ///'\0' */
 | 
			
		||||
    ps.prismtech_participant_version_info.internals = os_malloc(size);
 | 
			
		||||
    (void) snprintf(ps.prismtech_participant_version_info.internals, size, "%s/%s/%s/%s", node, OSPL_VERSION_STR, OSPL_HOST_STR, OSPL_TARGET_STR);
 | 
			
		||||
    (void) snprintf(ps.prismtech_participant_version_info.internals, size, "%s/%s/%s/%s", node, OS_VERSION, OS_HOST_NAME, OS_TARGET_NAME);
 | 
			
		||||
    DDS_TRACE("spdp_write(%x:%x:%x:%x) - internals: %s\n", PGUID (pp->e.guid), ps.prismtech_participant_version_info.internals);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -511,11 +511,7 @@ int os_sockWaitsetNextEvent (os_sockWaitsetCtx ctx, ddsi_tran_conn_t * conn)
 | 
			
		|||
#ifndef _WIN32
 | 
			
		||||
 | 
			
		||||
#ifndef __VXWORKS__
 | 
			
		||||
#if defined (AIX) || defined (__Lynx__) || defined (__QNX__)
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#elif ! defined(INTEGRITY)
 | 
			
		||||
#include <sys/fcntl.h>
 | 
			
		||||
#endif
 | 
			
		||||
#endif /* __VXWORKS__ */
 | 
			
		||||
 | 
			
		||||
#ifndef _WRS_KERNEL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue