*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
return d_invalid;
}
-static directive **necessary = NULL;
+static directive **necessary = nullptr;
static void set_nec(directive **n, ...)
/* Must always have at least one extra argument */
void DS_Init(DirStack **DS)
{
- if (necessary == NULL)
+ if (necessary == nullptr)
{
int i;
}
}
}
- *DS = NULL;
+ *DS = nullptr;
}
{
DirStack *D;
- while (*DS != NULL)
+ while (*DS != nullptr)
{
D = *DS;
*DS = (*DS)->prev;
DirStack *D;
D = DS;
- while ((D != NULL) && (D->d != d))
+ while ((D != nullptr) && (D->d != d))
{
D = D->prev;
}
- return (D != NULL);
+ return (D != nullptr);
}
int DS_Check_Order(DirStack *DS, directive d)