Rename translation units containing main() to main.cpp
Also unify style of argv declaration
Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
diff --git a/tools/ping/wscript b/tools/ping/wscript
index f0c5f5e..4b66c04 100644
--- a/tools/ping/wscript
+++ b/tools/ping/wscript
@@ -5,24 +5,24 @@
bld.objects(
target='ping-client-objects',
- source=bld.path.ant_glob('client/*.cpp', excl='client/ndn-ping.cpp'),
+ source=bld.path.ant_glob('client/*.cpp', excl='client/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnping',
name='ndnping',
- source='client/ndn-ping.cpp',
+ source='client/main.cpp',
use='ping-client-objects')
bld.objects(
target='ping-server-objects',
- source=bld.path.ant_glob('server/*.cpp', excl='server/ndn-ping-server.cpp'),
+ source=bld.path.ant_glob('server/*.cpp', excl='server/main.cpp'),
use='core-objects')
bld.program(
target='../../bin/ndnpingserver',
name='ndnpingserver',
- source='server/ndn-ping-server.cpp',
+ source='server/main.cpp',
use='ping-server-objects')
## (for unit tests)