gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLL version of Gnokii for Win32


From: Pawel Kot
Subject: Re: DLL version of Gnokii for Win32
Date: Thu, 11 Apr 2002 10:19:59 +0200

Hi Feico,

I know what for is extern in the function declaration (ie. in the header file).
You should modify the sample code to fit the patch you prepared to gnokii.
See below.

>>> address@hidden 10 April 2002 22:23:09 >>>
> file h.h:
> extern int externfunc(void);
> 
> file a.c:
> #include "h.h"
> 
> main()
> {
>         externfunc();
> }
> 
> file b.c:
> #include "h.h"
> 
> int externfunc(void)
You should write here:
extern int externfunc(void)
My question: what for do you need an extern here? IMHO we can skip it safely.
> {
>         return(0);
> }

pkot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]