#include <time.h>
#include <unistd.h>
+#include "busybox.h"
+
#ifdef CONFIG_LOCALE_SUPPORT
#include <locale.h>
#endif
-#include "busybox.h"
-
#define THURSDAY 4 /* for reformation */
#define SATURDAY 6 /* 1 Jan 1 was a Saturday */
for (p = s; *p; ++p)
continue;
- while (p > s && isspace(*--p))
+ while (p > s && (--p, isspace(*p)))
continue;
if (p > s)
++p;
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*