| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/science/v_sim/files/ |
Upload File : |
--- src/coreTools/atoms_yaml.c.orig 2020-07-07 14:26:13 UTC
+++ src/coreTools/atoms_yaml.c
@@ -1270,19 +1270,7 @@ static int posinp_yaml_forces(yaml_parser_t *parser, P
return done;
}
-#if SYSTEM_X11 == 1
-static char* strdup(const char *src)
-{
- char *dest;
- size_t ln;
- ln = strlen(src);
- dest = malloc(sizeof(char) * (ln + 1));
- memcpy(dest, src, sizeof(char) * ln);
- dest[ln] = '\0';
- return dest;
-}
-#endif
static int posinp_yaml_external_potential(const PosinpDict *dict, PosinpAtoms *atoms, char **message)
{
int done;