From: "Brad M. Garcia" <bgarcia@fore.com>
To: Bjorn.Wennberg@lcc.no
Cc: egcs@cygnus.com
Subject: Re: extern "C" and prototyping question
Date: Fri, 01 May 1998 03:55:00 -0000 [thread overview]
Message-ID: <Pine.LNX.3.96.980501065402.16111A-100000@spud.eng.fore.com> (raw)
Change your set_CB declaration to:
extern "C" {
void set_CB(void (*func)(void));
}
And everything will be fine.
Brad Garcia
___/ __ / __ / ___/ "Being the Linux of digital media
__/ / / / _/ __/ would be a very good life."
_/ ____/ _/ _| ____/ - Jean-Louis Gassee, CEO of Be, Inc.
next reply other threads:[~1998-05-01 3:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-01 3:55 Brad M. Garcia [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-04-30 5:23 Bjørn Wennberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.3.96.980501065402.16111A-100000@spud.eng.fore.com \
--to=bgarcia@fore.com \
--cc=Bjorn.Wennberg@lcc.no \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).