Repair errors and warnings flagged by llvm.
This commit is contained in:
@@ -124,7 +124,7 @@ PUBLIC int is_status_msg_expected = FALSE;
|
||||
/*===========================================================================*
|
||||
* printer_task *
|
||||
*===========================================================================*/
|
||||
PUBLIC void main(void)
|
||||
PUBLIC int main(int argc, char *argv[])
|
||||
{
|
||||
/* Main routine of the printer task. */
|
||||
message pr_mess; /* buffer for all incoming messages */
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "sb16.h"
|
||||
|
||||
|
||||
_PROTOTYPE(void main, (void));
|
||||
FORWARD _PROTOTYPE( int dsp_open, (void) );
|
||||
FORWARD _PROTOTYPE( int dsp_close, (void) );
|
||||
FORWARD _PROTOTYPE( int dsp_ioctl, (const message *m_ptr) );
|
||||
@@ -88,7 +87,7 @@ PUBLIC int is_status_msg_expected = FALSE;
|
||||
/*===========================================================================*
|
||||
* main
|
||||
*===========================================================================*/
|
||||
PUBLIC void main()
|
||||
PUBLIC int main(int argc, char *argv[])
|
||||
{
|
||||
int r;
|
||||
endpoint_t caller;
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "sb16.h"
|
||||
|
||||
|
||||
_PROTOTYPE(void main, (void));
|
||||
FORWARD _PROTOTYPE( int mixer_init, (void));
|
||||
FORWARD _PROTOTYPE( int mixer_open, (const message *m_ptr));
|
||||
FORWARD _PROTOTYPE( int mixer_close, (const message *m_ptr));
|
||||
@@ -47,7 +46,8 @@ FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
/*===========================================================================*
|
||||
* main
|
||||
*===========================================================================*/
|
||||
PUBLIC void main() {
|
||||
PUBLIC int main(int argc, char *argv[])
|
||||
{
|
||||
message mess;
|
||||
int ipc_status;
|
||||
int err, caller, proc_nr;
|
||||
|
||||
Reference in New Issue
Block a user