diff options
author | jbj <devnull@localhost> | 2000-02-27 20:50:52 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-02-27 20:50:52 +0000 |
commit | 795a3ac5948f4942e40d9311777ccd679825413e (patch) | |
tree | d8ce601d90fac75685102830e8e941c5d412bbe0 /system.h | |
parent | 945d2cd8af0d5057c0a26d31c196e36a685e0572 (diff) | |
download | librpm-tizen-795a3ac5948f4942e40d9311777ccd679825413e.tar.gz librpm-tizen-795a3ac5948f4942e40d9311777ccd679825413e.tar.bz2 librpm-tizen-795a3ac5948f4942e40d9311777ccd679825413e.zip |
Diminish solaris2.6 gcc noise.
CVS patchset: 3593
CVS date: 2000/02/27 20:50:52
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -93,6 +93,10 @@ char *memchr (); char * stpcpy(char * dest, const char * src); #endif +#if !defined(HAVE_STPNCPY) || defined(__LCLINT__) +char * stpncpy(char * dest, const char * src, size_t n); +#endif + #include <errno.h> #ifndef errno extern int errno; @@ -300,6 +304,11 @@ char *realpath(const char *path, char resolved_path []); extern void *myrealloc(void *, size_t); #endif +#if ! HAVE_SETENV +extern int setenv(const char *name, const char *value, int replace); +extern void unsetenv(const char *name); +#endif + #if HAVE_SYS_SOCKET_H #include <sys/types.h> #ifndef __LCLINT__ |