* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#include "symtab.h"
+#include "gmxpre.h"
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "symtab.h"
#include <stdio.h>
#include <string.h>
if (symbuf->buf[i] == NULL)
{
symtab->nr++;
- symbuf->buf[i] = strdup(name);
+ symbuf->buf[i] = gmx_strdup(name);
return &(symbuf->buf[i]);
}
else if (strcmp(symbuf->buf[i], name) == 0)
symbuf = symbuf->next;
symtab->nr++;
- symbuf->buf[0] = strdup(name);
+ symbuf->buf[0] = gmx_strdup(name);
return &(symbuf->buf[0]);
}