summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorRoman Kennke <roman@kennke.org>2006-01-16 13:21:05 +0000
committerRoman Kennke <roman@kennke.org>2006-01-16 13:21:05 +0000
commitea364e010b3ca458a96a68cb1ad6e240071d7812 (patch)
treead9e813c54f13e2b2f470272b3875b6beda02386 /native
parent0c7d764ed6428ff450fbf7b619c9eed097dcbd5c (diff)
downloadclasspath-ea364e010b3ca458a96a68cb1ad6e240071d7812.tar.gz
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_network.c: Fixed typo. * native/target/generic/target_generic_network.h: Fixed typo.
Diffstat (limited to 'native')
-rw-r--r--native/target/generic/target_generic_network.c4
-rw-r--r--native/target/generic/target_generic_network.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/native/target/generic/target_generic_network.c b/native/target/generic/target_generic_network.c
index a926bfc55..93791699b 100644
--- a/native/target/generic/target_generic_network.c
+++ b/native/target/generic/target_generic_network.c
@@ -148,7 +148,7 @@ static TsocketTimeout *findSocketTimeout(int socketDescriptor)
/*---------------------------------------------------------------------*/
-#ifdef TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC
+#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC
#include <sys/types.h>
#include <fcntl.h>
int targetGenericNetwork_socketOpenStream(void)
@@ -170,7 +170,7 @@ int targetGenericNetwork_socketOpenStream(void)
return socketDescriptor;
}
-#endif /* TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC */
+#endif /* TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC */
#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_DATAGRAM_GENERIC
#include <sys/types.h>
diff --git a/native/target/generic/target_generic_network.h b/native/target/generic/target_generic_network.h
index 46f5b2c97..8c06348c3 100644
--- a/native/target/generic/target_generic_network.h
+++ b/native/target/generic/target_generic_network.h
@@ -340,7 +340,7 @@ Systems : all
#ifndef NEW_CP
#ifndef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM
#ifndef WITHOUT_NETWORK
- #define TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC
+ #define TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC
#define TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM(socketDescriptor,result) \
do { \
socketDescriptor=targetGenericNetwork_socketOpenStream(); \
@@ -1991,9 +1991,9 @@ Systems : all
extern "C" {
#endif
-#ifdef TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC
+#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC
int targetGenericNetwork_socketOpenStream(void);
-#endif /* TARGET_NATIVE_NETWORK_SOCKE_OPEN_STREAM_GENERIC */
+#endif /* TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM_GENERIC */
#ifdef TARGET_NATIVE_NETWORK_SOCKET_OPEN_DATAGRAM_GENERIC
int targetGenericNetwork_socketOpenDatagram(void);