openbsd-compat.h (204917) | openbsd-compat.h (215116) |
---|---|
1/* $Id: openbsd-compat.h,v 1.49 2010/01/16 12:58:37 dtucker Exp $ */ | 1/* $Id: openbsd-compat.h,v 1.50 2010/08/16 03:15:23 dtucker Exp $ */ |
2 3/* 4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 5 * Copyright (c) 2003 Ben Lindstrom. All rights reserved. 6 * Copyright (c) 2002 Tim Rice. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 72 unchanged lines hidden (view full) --- 82#ifndef HAVE_SETENV 83int setenv(register const char *name, register const char *value, int rewrite); 84#endif 85 86#ifndef HAVE_STRMODE 87void strmode(int mode, char *p); 88#endif 89 | 2 3/* 4 * Copyright (c) 1999-2003 Damien Miller. All rights reserved. 5 * Copyright (c) 2003 Ben Lindstrom. All rights reserved. 6 * Copyright (c) 2002 Tim Rice. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 72 unchanged lines hidden (view full) --- 82#ifndef HAVE_SETENV 83int setenv(register const char *name, register const char *value, int rewrite); 84#endif 85 86#ifndef HAVE_STRMODE 87void strmode(int mode, char *p); 88#endif 89 |
90#ifndef HAVE_STRPTIME 91#include <time.h> 92char *strptime(const char *buf, const char *fmt, struct tm *tm); 93#endif 94 |
|
90#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) 91int mkstemps(char *path, int slen); 92int mkstemp(char *path); 93char *mkdtemp(char *path); 94#endif 95 96#ifndef HAVE_DAEMON 97int daemon(int nochdir, int noclose); --- 132 unchanged lines hidden --- | 95#if !defined(HAVE_MKDTEMP) || defined(HAVE_STRICT_MKSTEMP) 96int mkstemps(char *path, int slen); 97int mkstemp(char *path); 98char *mkdtemp(char *path); 99#endif 100 101#ifndef HAVE_DAEMON 102int daemon(int nochdir, int noclose); --- 132 unchanged lines hidden --- |