summaryrefslogtreecommitdiff
path: root/TAO/examples/Advanced/ch_18/icp.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Advanced/ch_18/icp.h')
-rw-r--r--TAO/examples/Advanced/ch_18/icp.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/examples/Advanced/ch_18/icp.h b/TAO/examples/Advanced/ch_18/icp.h
index 69c2dab85f1..fb2d9d182de 100644
--- a/TAO/examples/Advanced/ch_18/icp.h
+++ b/TAO/examples/Advanced/ch_18/icp.h
@@ -17,12 +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
@@ -33,12 +32,10 @@ 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 */