Browse Source

remove BEGIN/END_DECLS annotations from internal headers

These do not exist on all systems in sys/cdefs.h, and they are unneeded
since the header is being used privately anyway.
OPENBSD_5_7
Brent Cook 10 years ago
parent
commit
5980ef6d61
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      update.sh

+ 2
- 2
update.sh View File

@ -28,8 +28,8 @@ ntpd_src=$dir/openbsd/src/usr.sbin/ntpd
CP='cp -p' CP='cp -p'
PATCH='patch -p0 -s' PATCH='patch -p0 -s'
cp $libc_inc/md5.h include/md5_openbsd.h
cp $libc_inc/sha2.h include/sha2_openbsd.h
sed '/DECLS/d' $libc_inc/md5.h > include/md5_openbsd.h
sed '/DECLS/d' $libc_inc/sha2.h > include/sha2_openbsd.h
cp $libutil_src/imsg.h include/ cp $libutil_src/imsg.h include/
cp $libutil_src/imsg.c compat/ cp $libutil_src/imsg.c compat/
cp $libutil_src/imsg-buffer.c compat/ cp $libutil_src/imsg-buffer.c compat/


Loading…
Cancel
Save