[PATCH] build: sync ax_enable_builddir.m4 with autoconf archive
[mit.git] / util.h
blobd258dd37abe4fe059b46eee0ab9962a4955c7d6a
1 #ifndef _UTIL_H
2 #define _UTIL_H
4 #include <stdio.h>
6 char *getline_wrapped(FILE *file, unsigned int *linenum);
8 void filename2modname(char *modname, const char *filename);
9 char *underscores(char *string);
11 const char *next_string(const char *string, unsigned long *secsize);
13 #define streq(a,b) (strcmp((a),(b)) == 0)
14 #define strstarts(a,start) (strncmp((a),(start), strlen(start)) == 0)
16 #endif