From 5f14347dd5949cbde4c23ad0dd157616e03048a6 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 15 May 2010 22:58:07 +0000 Subject: [PATCH] 2010-05-16 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile - contrib/hbwin/win_srv.c + contrib/hbwin/win_svc.c - contrib/hbwin/tests/testsrv.prg + contrib/hbwin/tests/testsvc.prg * Renamed files ('svc' slightly better describes services than 'srv' which can be 'server'). --- harbour/ChangeLog | 9 +++++++++ harbour/contrib/hbwin/Makefile | 2 +- harbour/contrib/hbwin/tests/{testsrv.prg => testsvc.prg} | 0 harbour/contrib/hbwin/{win_srv.c => win_svc.c} | 8 ++++---- 4 files changed, 14 insertions(+), 5 deletions(-) rename harbour/contrib/hbwin/tests/{testsrv.prg => testsvc.prg} (100%) rename harbour/contrib/hbwin/{win_srv.c => win_svc.c} (97%) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index eaa6a25ffa..78dedf995e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,15 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-16 00:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbwin/Makefile + - contrib/hbwin/win_srv.c + + contrib/hbwin/win_svc.c + - contrib/hbwin/tests/testsrv.prg + + contrib/hbwin/tests/testsvc.prg + * Renamed files ('svc' slightly better describes services + than 'srv' which can be 'server'). + 2010-05-16 00:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_srv.c * contrib/hbwin/tests/testsrv.prg diff --git a/harbour/contrib/hbwin/Makefile b/harbour/contrib/hbwin/Makefile index 5760d24a74..e92766e115 100644 --- a/harbour/contrib/hbwin/Makefile +++ b/harbour/contrib/hbwin/Makefile @@ -41,7 +41,7 @@ C_SOURCES := \ win_prn3.c \ win_regc.c \ win_shell.c \ - win_srv.c \ + win_svc.c \ PRG_SOURCES := \ legacy.prg \ diff --git a/harbour/contrib/hbwin/tests/testsrv.prg b/harbour/contrib/hbwin/tests/testsvc.prg similarity index 100% rename from harbour/contrib/hbwin/tests/testsrv.prg rename to harbour/contrib/hbwin/tests/testsvc.prg diff --git a/harbour/contrib/hbwin/win_srv.c b/harbour/contrib/hbwin/win_svc.c similarity index 97% rename from harbour/contrib/hbwin/win_srv.c rename to harbour/contrib/hbwin/win_svc.c index c50b4545d5..9f81a1ccf9 100644 --- a/harbour/contrib/hbwin/win_srv.c +++ b/harbour/contrib/hbwin/win_svc.c @@ -131,7 +131,7 @@ HB_FUNC( WIN_SERVICEGETSTATUS ) #endif } -HB_FUNC( WIN_SERVICESETSTATUS ) /* dwStatus */ +HB_FUNC( WIN_SERVICESETSTATUS ) { #if ! defined( HB_OS_WIN_CE ) s_ServiceStatus.dwCurrentState = ( DWORD ) hb_parnl( 1 ); @@ -141,7 +141,7 @@ HB_FUNC( WIN_SERVICESETSTATUS ) /* dwStatus */ #endif } -HB_FUNC( WIN_SERVICESETEXITCODE ) /* dwExitCode */ +HB_FUNC( WIN_SERVICESETEXITCODE ) { #if ! defined( HB_OS_WIN_CE ) s_ServiceStatus.dwWin32ExitCode = ( DWORD ) hb_parnl( 1 ); @@ -217,7 +217,7 @@ HB_FUNC( WIN_SERVICEINSTALL ) hb_retl( bRetVal ); } -HB_FUNC( WIN_SERVICEDELETE ) /* sServiceName */ +HB_FUNC( WIN_SERVICEDELETE ) { HB_BOOL bRetVal = HB_FALSE; #if ! defined( HB_OS_WIN_CE ) @@ -252,7 +252,7 @@ HB_FUNC( WIN_SERVICEDELETE ) /* sServiceName */ hb_retl( bRetVal ); } -HB_FUNC( WIN_SERVICESTART ) /* pszServiceName, pszPrgFunction */ +HB_FUNC( WIN_SERVICESTART ) { HB_BOOL bRetVal = HB_FALSE; #if ! defined( HB_OS_WIN_CE )