- Change () to (VOID) in function declarators. Part 3/XX.

svn path=/trunk/; revision=51039
This commit is contained in:
Roel Messiant 2011-03-13 17:59:02 +00:00
parent d99032f362
commit 338d63e19c
4 changed files with 17 additions and 17 deletions

View file

@ -29,22 +29,22 @@ BOOL
CreateAudioDeviceList(DWORD max_size);
VOID
DestroyAudioDeviceList();
DestroyAudioDeviceList(VOID);
/* Plug and Play (pnp.c) */
BOOL
ProcessExistingDevices();
ProcessExistingDevices(VOID);
DWORD
ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE* device);
BOOL
RegisterForDeviceNotifications();
RegisterForDeviceNotifications(VOID);
VOID
UnregisterDeviceNotifications();
UnregisterDeviceNotifications(VOID);
DWORD
HandleDeviceEvent(
@ -52,7 +52,7 @@ HandleDeviceEvent(
LPVOID lpEventData);
BOOL
StartSystemAudioServices();
StartSystemAudioServices(VOID);
/* Debugging */

View file

@ -35,8 +35,8 @@ extern volatile BOOL bShutdown;
extern volatile BOOL bPause;
/* logging functions */
BOOL InitLogging();
VOID UninitLogging();
BOOL InitLogging(VOID);
VOID UninitLogging(VOID);
VOID LogEvent(LPCWSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags);
/* skelserver functions */

View file

@ -146,16 +146,16 @@ struct data15
};
//Functions
void runProg();
void runProg(void);
void processRequest(LPVOID lpParam);
char* myGetToken(char*, BYTE);
void init();
void init(void);
bool cleanReq(request*);
bool getSection(const char*, char*, BYTE, char*);
bool isIP(char*s);
char* myLower(char*);
char* myUpper(char*);
char* IP2String(char*, DWORD);
void printWindowsError();
void printWindowsError(void);
void logMess(request*, BYTE);
void logMess(char*, BYTE);

View file

@ -166,9 +166,9 @@ typedef VOID (*PCABINET_DISK_CHANGE)(PWCHAR CabinetName,
/* Classes */
/* Default constructor */
VOID CabinetInitialize();
VOID CabinetInitialize(VOID);
/* Default destructor */
VOID CabinetCleanup();
VOID CabinetCleanup(VOID);
/* Returns a pointer to the filename part of a fully qualified filename */
PWCHAR CabinetGetFileName(PWCHAR Path);
/* Removes a filename from a fully qualified filename */
@ -176,19 +176,19 @@ VOID CabinetRemoveFileName(PWCHAR Path);
/* Normalizes a path */
BOOL CabinetNormalizePath(PWCHAR Path, ULONG Length);
/* Returns name of cabinet file */
PWCHAR CabinetGetCabinetName();
PWCHAR CabinetGetCabinetName(VOID);
/* Sets the name of the cabinet file */
VOID CabinetSetCabinetName(PWCHAR FileName);
/* Sets destination path for extracted files */
VOID CabinetSetDestinationPath(PWCHAR DestinationPath);
/* Returns destination path */
PWCHAR CabinetGetDestinationPath();
PWCHAR CabinetGetDestinationPath(VOID);
/* Returns zero-based current disk number */
ULONG CabinetGetCurrentDiskNumber();
ULONG CabinetGetCurrentDiskNumber(VOID);
/* Opens the current cabinet file */
ULONG CabinetOpen();
ULONG CabinetOpen(VOID);
/* Closes the current open cabinet file */
VOID CabinetClose();
VOID CabinetClose(VOID);
/* Locates the first file in the current cabinet file that matches a search criteria */
ULONG CabinetFindFirst(PWCHAR FileName, PCAB_SEARCH Search);
/* Locates the next file in the current cabinet file */