summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsd-misc.c (renamed from helper.c)2
-rw-r--r--bsd-misc.h (renamed from helper.h)8
2 files changed, 5 insertions, 5 deletions
diff --git a/helper.c b/bsd-misc.c
index bf4e145b2..c952fd0f3 100644
--- a/helper.c
+++ b/bsd-misc.c
@@ -48,7 +48,7 @@
48#include "xmalloc.h" 48#include "xmalloc.h"
49#include "ssh.h" 49#include "ssh.h"
50#include "config.h" 50#include "config.h"
51#include "helper.h" 51#include "bsd-misc.h"
52 52
53#ifndef offsetof 53#ifndef offsetof
54#define offsetof(type, member) ((size_t) &((type *)0)->member) 54#define offsetof(type, member) ((size_t) &((type *)0)->member)
diff --git a/helper.h b/bsd-misc.h
index 68e0a8530..990dd408e 100644
--- a/helper.h
+++ b/bsd-misc.h
@@ -1,6 +1,6 @@
1/* 1/*
2** 2**
3** OpenBSD emulation routines 3** OpenBSD replacement routines
4** 4**
5** Damien Miller <djm@ibs.com.au> 5** Damien Miller <djm@ibs.com.au>
6** 6**
@@ -33,8 +33,8 @@
33** 33**
34*/ 34*/
35 35
36#ifndef _HELPER_H 36#ifndef _BSD_MISC_H
37#define _HELPER_H 37#define _BSD_MISC_H
38 38
39#include "config.h" 39#include "config.h"
40 40
@@ -51,4 +51,4 @@ void setproctitle(const char *fmt, ...);
51int setenv(const char *name, const char *value, int overwrite); 51int setenv(const char *name, const char *value, int overwrite);
52#endif /* !HAVE_SETENV */ 52#endif /* !HAVE_SETENV */
53 53
54#endif /* _HELPER_H */ 54#endif /* _BSD_MISC_H */