diff options
Diffstat (limited to 'src/jtutil/util.hh')
-rw-r--r-- | src/jtutil/util.hh | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/src/jtutil/util.hh b/src/jtutil/util.hh index ddba0d7..80ca2dc 100644 --- a/src/jtutil/util.hh +++ b/src/jtutil/util.hh @@ -1,29 +1,10 @@ -/* util.hh -- stuff for my C++ utility library */ -/* $Header$ */ - -/* - * prerequisites: - * <stdlib.h> or <string.h> or <stdio.h> // size_t - * "stdc.h" - * - * This is mainly a C++ header file, but exceptionally (until Tom puts - * my latest patches into the Cactus flesh :), it's safe to #include - * from C code, to provide a prototype for AHFinderDirect_Strlcat(). - * Thus we use C comments here. - */ - -/* - * misc string functions (in C, not C++) - */ -#ifdef __cplusplus -extern "C" -#endif -size_t AHFinderDirect_Strlcat(char* dst, const char* src, size_t dst_size); +// $Header$ + +// +// prerequisites: +// "stdc.h" +// -/* - * the rest of this file is C++ only - */ -#ifdef __cplusplus namespace jtutil { @@ -223,4 +204,3 @@ public: //****************************************************************************** } // namespace jtutil -#endif /* __cplusplus */ |