Add OS-specific version to supply some missing prototypes.

This commit is contained in:
W. Eric Norum
2001-01-10 14:55:52 +00:00
parent 0d742d5408
commit 164b1948fc
2 changed files with 51 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
* $Id$
*
*
* L O S A L A M O S
* Los Alamos National Laboratory
* Los Alamos, New Mexico 87545
*
* Copyright, 1986, The Regents of the University of California.
*
*
* Author Jeffrey O. Hill
* johill@lanl.gov
* 505 665 1831
*/
#include <unistd.h>
/*
* Some systems fail to provide prototypes of these functions.
* Others provide different prototypes.
* There seems to be no way to handle this automatically, so
* if you get compile errors, just make the appropriate changes here.
*/
int putenv (char *);
+26
View File
@@ -0,0 +1,26 @@
/*
* $Id$
*
*
* L O S A L A M O S
* Los Alamos National Laboratory
* Los Alamos, New Mexico 87545
*
* Copyright, 1986, The Regents of the University of California.
*
*
* Author Jeffrey O. Hill
* johill@lanl.gov
* 505 665 1831
*/
#include <unistd.h>
/*
* Some systems fail to provide prototypes of these functions.
* Others provide different prototypes.
* There seems to be no way to handle this automatically, so
* if you get compile errors, just make the appropriate changes here.
*/
int putenv (char *);
char *strdup (const char *);