diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-22 09:54:37 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-22 09:54:37 +0000 |
commit | 86c618bdb9ae8d3a8e1b366c072b9df35ac87e80 (patch) | |
tree | 71d965050786f81cb5f805024e33cb68c91f2ecb | |
parent | afb9146375bcd625a277f562ca4118fbf63f824a (diff) |
remove __BEGIN_DECLS/__END_DECLS, this .h file wont be
read by a C++ compiler, and __* are no lonmger recommended.
https://www.gnu.org/software/libtool/manual/html_node/C-header-files.html
ok deraadt@
-rw-r--r-- | usr.bin/rsync/extern.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h index a4e2007e1a7..6fe68ad2ee0 100644 --- a/usr.bin/rsync/extern.h +++ b/usr.bin/rsync/extern.h @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.22 2019/02/21 22:06:26 benno Exp $ */ +/* $Id: extern.h,v 1.23 2019/02/22 09:54:36 benno Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -229,8 +229,6 @@ struct upload; #define ERRX(_sess, _fmt, ...) \ rsync_errx((_sess), __FILE__, __LINE__, (_fmt), ##__VA_ARGS__) -__BEGIN_DECLS - void rsync_log(struct sess *, const char *, size_t, int, const char *, ...) __attribute__((format(printf, 5, 6))); @@ -367,6 +365,4 @@ int idents_recv(struct sess *, int, struct ident **, size_t *); void idents_remap(struct sess *, int, struct ident *, size_t); int idents_send(struct sess *, int, const struct ident *, size_t); -__END_DECLS - #endif /*!EXTERN_H*/ |