I had clearly run search/replace on that were cluttering things up.
/* vi: set sw=4 ts=4: */
-/* div for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Library General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+/*
+ * div for uClibc
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <stdlib.h>
-/* rand.c
- *
- * Written by Erik Andersen <andersee@debian.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; see the file COPYING.LIB. If not,
- * write to the Free Software Foundation, Inc., 675 Mass Ave,
- * Cambridge, MA 02139, USA. */
+/* vi: set sw=4 ts=4: */
+/*
+ * rand for uClibc
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
#include <stdlib.h>
libc_hidden_proto(random)
-int rand (void)
+int rand (void)
{
- return((int)random());
+ return((int)random());
}
/* vi: set sw=4 ts=4: */
-/* vfork for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
+/*
+ * vfork for uClibc
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
- *
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* vi: set sw=4 ts=4: */
-/* getlogin for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
+/*
+ * getlogin for uClibc
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
- *
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* vi: set sw=4 ts=4: */
/*
* crypt() for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
- *
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-/* Written by Erik Andersen <andersen@uclibc.org> */
#define __FORCE_GLIBC
#include <crypt.h>
-/* wtmp support rubbish (i.e. complete crap)
-
- Written by Erik Andersen <andersee@debian.org>
-
- The GNU C Library is free software
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+/* vi: set sw=4 ts=4: */
+/*
+ * wtmp support rubbish (i.e. complete crap)
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
#include <string.h>
#include <sys/time.h>
/* vi: set sw=4 ts=4: */
/*
* Test application for argc and argv handling
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
}
}
#endif
-
+
printf("argc=%d\n", argc);
for(i=0;i<argc;i++) {
/* vi: set sw=4 ts=4: */
/*
* Test application for functions defined in ctype.h
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
int main( int argc, char **argv)
{
signal(SIGABRT, aborthandler);
-
+
init_testsuite("Testing functions defined in assert.h:\n\t");
got_abort=0;
/* vi: set sw=4 ts=4: */
/*
* Test application for functions defined in ctype.h
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* vi: set sw=4 ts=4: */
/*
* signal testing function for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* vi: set sw=4 ts=4: */
/*
* Some simple macros for use in test applications.
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
printf("\nFAILED TEST %lu: \n\t%s\n", (unsigned long)test_number, command);
printf("AT LINE: %d, FILE: %s\n\n", line, file);
-}
+}
void success_msg(int result, const char* command)
{
#if 0
printf("passed test: %s == 0\n", command);
-#endif
+#endif
}
void done_testing(void)
} while (0)
#define STR_CMD(cmd) cmd
-
+
#endif /* TESTSUITE_H */
/* vi: set sw=4 ts=4: */
/*
* clone test for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
return input + 20;
}
-int main(void)
+int main(void)
{
int clone1, clone2, clone3;
char clone1_stack[8192], clone2_stack[8192], clone3_stack[8192];
/* vi: set sw=4 ts=4: */
/*
* fork test for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
fprintf(stderr, "I got a SIGCHLD\n");
}
-int main(void)
+int main(void)
{
pid_t pid1, pid2, pid3;
int status, result, wpid;
/* vi: set sw=4 ts=4: */
/*
* fork test for uClibc
- *
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <stdlib.h>
#include <unistd.h>
-int main(void)
+int main(void)
{
char *foo;
char junk[12];
/* vi: set sw=4 ts=4: */
/*
* vfork test for uClibc
- *
* Copyright (C) 2000-2006 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <sys/types.h>
-int main(void)
+int main(void)
{
pid_t pid;
int status, wpid;