summaryrefslogtreecommitdiff
path: root/TAO/examples/Advanced/ch_21/icp.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Advanced/ch_21/icp.h')
-rw-r--r--TAO/examples/Advanced/ch_21/icp.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/examples/Advanced/ch_21/icp.h b/TAO/examples/Advanced/ch_21/icp.h
index b413a9157df..b93d94193f2 100644
--- a/TAO/examples/Advanced/ch_21/icp.h
+++ b/TAO/examples/Advanced/ch_21/icp.h
@@ -17,13 +17,11 @@
//
// ============================================================================
-
-
-
-
#ifndef _ICP_H
#define _ICP_H
+#include "ace/OS.h"
+
extern "C" {
int ICP_online(unsigned long id); // Add device
int ICP_offline(unsigned long id); // Remove device
@@ -34,14 +32,12 @@ extern "C" {
size_t len
);
int ICP_set( // Set attribute
- unsigned long id,
+ unsigned long id,
const char * attr,
const void * value
);
}
-size_t min(const size_t len1, const size_t len2);
-
#endif /* _ICP_H */