Mercurial > hg > octave-kai > gnulib-hg
diff lib/findprog.h @ 5105:d088e155d8f6
Add extern "C" for C++.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 16 Jul 2004 16:28:48 +0000 (2004-07-16) |
parents | f292c9f75051 |
children | a48fb0e98c8c |
line wrap: on
line diff
--- a/lib/findprog.h +++ b/lib/findprog.h @@ -16,6 +16,12 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#ifdef __cplusplus +extern "C" { +#endif + + /* Look up a program in the PATH. Attempt to determine the pathname that would be called by execlp/execvp of PROGNAME. If successful, return a pathname containing a slash @@ -25,3 +31,8 @@ execl/execv on the returned pathname. The returned string is freshly malloc()ed if it is != PROGNAME. */ extern const char *find_in_path (const char *progname); + + +#ifdef __cplusplus +} +#endif