Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

Prototypic declaration is insufficient.

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


renayama19661014 at ybb

Jun 16, 2011, 5:38 PM

Post #1 of 2 (352 views)
Permalink
Prototypic declaration is insufficient.

Hi all,

Because there is not prototypic declaration, in the top of the source of glue, I cannot compile it.

diff -r 7d9a54d5da6c main.c
--- a/main.c Fri Jun 17 18:34:21 2011 +0900
+++ b/main.c Fri Jun 17 18:34:55 2011 +0900
@@ -78,6 +78,7 @@
void log_buf(int severity, char *buf);
void log_msg(int severity, const char * fmt, ...)G_GNUC_PRINTF(2,3);
void trans_log(int priority, const char * fmt, ...)G_GNUC_PRINTF(2,3);
+void setup_cl_log(void);

static int pil_loglevel_to_syslog_severity[] = {
/* Indices: <none>=0, PIL_FATAL=1, PIL_CRIT=2, PIL_WARN=3,


Best Regards,
Hideo Yamauch.

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


dejanmm at fastmail

Jun 17, 2011, 7:09 AM

Post #2 of 2 (338 views)
Permalink
Re: Prototypic declaration is insufficient. [In reply to]

Hi Hideo-san,

On Fri, Jun 17, 2011 at 09:38:17AM +0900, renayama19661014 [at] ybb wrote:
> Hi all,
>
> Because there is not prototypic declaration, in the top of the source of glue, I cannot compile it.
>
> diff -r 7d9a54d5da6c main.c
> --- a/main.c Fri Jun 17 18:34:21 2011 +0900
> +++ b/main.c Fri Jun 17 18:34:55 2011 +0900
> @@ -78,6 +78,7 @@
> void log_buf(int severity, char *buf);
> void log_msg(int severity, const char * fmt, ...)G_GNUC_PRINTF(2,3);
> void trans_log(int priority, const char * fmt, ...)G_GNUC_PRINTF(2,3);
> +void setup_cl_log(void);
>
> static int pil_loglevel_to_syslog_severity[] = {
> /* Indices: <none>=0, PIL_FATAL=1, PIL_CRIT=2, PIL_WARN=3,

Many thanks for the patch. Applied.

Cheers,

Dejan

> Best Regards,
> Hideo Yamauch.
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.