diff utils.h @ 18:c08a947d8f30

deal with macro parameters
author David A. Holland
date Mon, 20 Dec 2010 01:51:47 -0500
parents 9dda765ee85c
children 76c114899f63
line wrap: on
line diff
--- a/utils.h	Mon Dec 20 01:15:43 2010 -0500
+++ b/utils.h	Mon Dec 20 01:51:47 2010 -0500
@@ -16,6 +16,10 @@
 char *dostrdup(const char *s);
 char *dostrdup2(const char *s, const char *t);
 char *dostrdup3(const char *s, const char *t, const char *u);
+char *dostrndup(const char *s, size_t len);
+
+size_t notrailingws(char *buf, size_t len);
+bool is_identifier(const char *str);
 
 /* in place.c */
 void complain(const struct place *, const char *fmt, ...);