From 36f6b0301d193c6b20a9e40890b19a3c23797e38 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sun, 12 Jan 1997 19:28:07 +0000 Subject: [PATCH] Include instead of . git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2049 72102866-910b-0410-8b05-ffd578937521 --- Examples/first-client.m | 4 ++-- Examples/first-server.m | 2 +- Examples/second-client.m | 5 +++-- Examples/second-server.m | 5 +++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Examples/first-client.m b/Examples/first-client.m index babb0988d..1215c7a07 100644 --- a/Examples/first-client.m +++ b/Examples/first-client.m @@ -2,7 +2,7 @@ #include #include #include "first-server.h" -#include +#include int main(int argc, char *argv[]) { @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) printf("Looking for connection named `firstserver' on host `%s'...\n", argv[2]); s = [Connection rootProxyAtName:@"firstserver" - onHost:[String stringWithCString:argv[2]]]; + onHost:[NSString stringWithCString:argv[2]]]; } else { diff --git a/Examples/first-server.m b/Examples/first-server.m index 0fe778cd6..432409704 100644 --- a/Examples/first-server.m +++ b/Examples/first-server.m @@ -1,7 +1,7 @@ #include #include "first-server.h" -#include +#include #include #include diff --git a/Examples/second-client.m b/Examples/second-client.m index 806408c33..7d0527dcb 100644 --- a/Examples/second-client.m +++ b/Examples/second-client.m @@ -1,5 +1,5 @@ #include "second-client.h" -#include +#include #include #include #include @@ -25,7 +25,8 @@ int main(int argc, char *argv[]) printf("Looking up server object on localhost with name `secondserver'\n"); if (argc > 1) - server = [Connection rootProxyAtName: [String stringWithCString: argv[1]]]; + server = [Connection rootProxyAtName: + [NSString stringWithCString: argv[1]]]; else server = [Connection rootProxyAtName: @"secondserver"]; printf("Found server.\n"); diff --git a/Examples/second-server.m b/Examples/second-server.m index 21870a12d..32ddd324f 100644 --- a/Examples/second-server.m +++ b/Examples/second-server.m @@ -2,7 +2,7 @@ #include "second-client.h" #include #include -#include +#include #include #include @@ -128,7 +128,8 @@ int main(int argc, char *argv[]) if (argc > 1) { - c = [Connection newRegisteringAtName: [String stringWithCString: argv[1]] + c = [Connection newRegisteringAtName: + [NSString stringWithCString: argv[1]] withRootObject:s]; printf("Regsitered server object on localhost with " "name `%s'\n", argv[1]);