Remove unneeded void parameter in generated code. Fix some gcc4 errors.
This commit is contained in:
@@ -155,7 +155,7 @@ BSerialPort_SetDataBits(BSerialPort *SerialPort, data_bits numBits)
|
||||
* Descr:
|
||||
*/
|
||||
data_bits
|
||||
BSerialPort_DataBits(BSerialPort *SerialPort, void)
|
||||
BSerialPort_DataBits(BSerialPort *SerialPort)
|
||||
{
|
||||
return SerialPort->DataBits();
|
||||
}
|
||||
@@ -177,7 +177,7 @@ BSerialPort_SetStopBits(BSerialPort *SerialPort, stop_bits numBits)
|
||||
* Descr:
|
||||
*/
|
||||
stop_bits
|
||||
BSerialPort_StopBits(BSerialPort *SerialPort, void)
|
||||
BSerialPort_StopBits(BSerialPort *SerialPort)
|
||||
{
|
||||
return SerialPort->StopBits();
|
||||
}
|
||||
@@ -199,7 +199,7 @@ BSerialPort_SetParityMode(BSerialPort *SerialPort, parity_mode which)
|
||||
* Descr:
|
||||
*/
|
||||
parity_mode
|
||||
BSerialPort_ParityMode(BSerialPort *SerialPort, void)
|
||||
BSerialPort_ParityMode(BSerialPort *SerialPort)
|
||||
{
|
||||
return SerialPort->ParityMode();
|
||||
}
|
||||
@@ -210,7 +210,7 @@ BSerialPort_ParityMode(BSerialPort *SerialPort, void)
|
||||
* Descr:
|
||||
*/
|
||||
void
|
||||
BSerialPort_ClearInput(BSerialPort *SerialPort, void)
|
||||
BSerialPort_ClearInput(BSerialPort *SerialPort)
|
||||
{
|
||||
SerialPort->ClearInput();
|
||||
}
|
||||
@@ -221,7 +221,7 @@ BSerialPort_ClearInput(BSerialPort *SerialPort, void)
|
||||
* Descr:
|
||||
*/
|
||||
void
|
||||
BSerialPort_ClearOutput(BSerialPort *SerialPort, void)
|
||||
BSerialPort_ClearOutput(BSerialPort *SerialPort)
|
||||
{
|
||||
SerialPort->ClearOutput();
|
||||
}
|
||||
|
||||
@@ -450,7 +450,7 @@ BScreen_SetDPMS(BScreen *Screen, uint32 dpms_state)
|
||||
* Effects:
|
||||
***********************************************************************/
|
||||
uint32
|
||||
BScreen_DPMSState(BScreen *Screen, void)
|
||||
BScreen_DPMSState(BScreen *Screen)
|
||||
{
|
||||
return Screen->DPMSState();
|
||||
}
|
||||
@@ -463,7 +463,7 @@ BScreen_DPMSState(BScreen *Screen, void)
|
||||
* Effects:
|
||||
***********************************************************************/
|
||||
uint32
|
||||
BScreen_DPMSCapabilites(BScreen *Screen, void)
|
||||
BScreen_DPMSCapabilites(BScreen *Screen)
|
||||
{
|
||||
return Screen->DPMSCapabilites();
|
||||
}
|
||||
|
||||
@@ -1569,7 +1569,7 @@ BTextView_HideTyping(BTextView *TextView, bool enabled)
|
||||
* Effects:
|
||||
***********************************************************************/
|
||||
bool
|
||||
BTextView_IsTypingHidden(BTextView *TextView, void)
|
||||
BTextView_IsTypingHidden(BTextView *TextView)
|
||||
{
|
||||
return TextView->IsTypingHidden();
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ BView* BWindow_ChildAt(BWindow* Window, int32 index)
|
||||
return Window->ChildAt(index);
|
||||
}
|
||||
|
||||
int32 BWindow_CountChildren(BWindow* Window, void)
|
||||
int32 BWindow_CountChildren(BWindow* Window)
|
||||
{
|
||||
return Window->CountChildren();
|
||||
}
|
||||
|
||||
@@ -379,7 +379,7 @@ BFilePanel_SetHideWhenDone(BFilePanel *FilePanel, bool z)
|
||||
* Effects:
|
||||
***********************************************************************/
|
||||
bool
|
||||
BFilePanel_HidesWhenDone(BFilePanel *FilePanel, void)
|
||||
BFilePanel_HidesWhenDone(BFilePanel *FilePanel)
|
||||
{
|
||||
return FilePanel->HidesWhenDone();
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ BVolume_SetTo(BVolume *Volume, dev_t dev)
|
||||
* Descr:
|
||||
*/
|
||||
void
|
||||
BVolume_Unset(BVolume *Volume, void)
|
||||
BVolume_Unset(BVolume *Volume)
|
||||
{
|
||||
Volume->Unset();
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ BVolumeRoster_StartWatching(BVolumeRoster *VolumeRoster, BMessenger msngr)
|
||||
* Descr:
|
||||
*/
|
||||
void
|
||||
BVolumeRoster_StopWatching(BVolumeRoster *VolumeRoster, void)
|
||||
BVolumeRoster_StopWatching(BVolumeRoster *VolumeRoster)
|
||||
{
|
||||
VolumeRoster->StopWatching();
|
||||
}
|
||||
@@ -106,7 +106,7 @@ BVolumeRoster_StopWatching(BVolumeRoster *VolumeRoster, void)
|
||||
* Descr:
|
||||
*/
|
||||
BMessenger
|
||||
BVolumeRoster_Messenger(BVolumeRoster *VolumeRoster, void)
|
||||
BVolumeRoster_Messenger(BVolumeRoster *VolumeRoster)
|
||||
{
|
||||
return VolumeRoster->Messenger();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user