Laszlo Papp wrote:
Code cleaning, removing strndup, because it's available with glibc in
the same manner, and a small typo fix.

Signed-off-by: Laszlo Papp <[email protected]>
---
<snip>
-#ifndef HAVE_STRNDUP
-char *strndup(const char *s, size_t n);
-#endif
-
 #endif /* _PM_UTIL_H */

I believe that strndup is a GNU library extension so is not universally supported. Hence the #ifndef here. Has this changed since the original commit (581769b7)?

Allan


Reply via email to