X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffindprog.h;h=5913429f2ea7f52bebc45b8d8953c692398d30c1;hb=5ac9985ff6541293a521e3c2d1987a8271ab9353;hp=81a95b6dc49c1b20151ba0c4301d4fe8d2e55dda;hpb=3964b40991c1676eb0a982a1e93d57224663cc17;p=gnulib.git diff --git a/lib/findprog.h b/lib/findprog.h index 81a95b6dc..5913429f2 100644 --- 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