diff -Nurd -x'*~' nodelib.orig/src/ulog.c nodelib/src/ulog.c --- nodelib.orig/src/ulog.c 2002-03-10 15:13:28.000000000 -0500 +++ nodelib/src/ulog.c 2006-01-10 22:21:55.000000000 -0500 @@ -45,7 +45,8 @@ static void expand_pct_m(char *format, int pfsz) { - extern int errno, sys_nerr; + extern int errno; + extern const int sys_nerr; extern const char *const sys_errlist[]; const char *err; char *buf = ulog_fmt; diff -Nurd -x'*~' nodelib.orig/src/xalloc.c nodelib/src/xalloc.c --- nodelib.orig/src/xalloc.c 2000-01-04 11:32:03.000000000 -0500 +++ nodelib/src/xalloc.c 2006-01-10 22:21:55.000000000 -0500 @@ -3,7 +3,7 @@ #include #include -#include + #include #undef XALLOC_DEBUG diff -Nurd -x'*~' nodelib.orig/test/tjacob.c nodelib/test/tjacob.c --- nodelib.orig/test/tjacob.c 2000-01-04 11:32:03.000000000 -0500 +++ nodelib/test/tjacob.c 2006-01-10 22:22:13.000000000 -0500 @@ -7,9 +7,7 @@ #include #include -static char *help_string = "\ -Compute the Jacobian is a NN. -"; +static char *help_string = "Compute the Jacobian is a NN.\n"; /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ diff -Nurd -x'*~' nodelib.orig/test/tkmeans.c nodelib/test/tkmeans.c --- nodelib.orig/test/tkmeans.c 2000-01-04 11:57:37.000000000 -0500 +++ nodelib/test/tkmeans.c 2006-01-10 22:28:38.000000000 -0500 @@ -2,17 +2,7 @@ #include -static char *help_string = "\ -Test the kmeans algorithms on uniform exemplars from [0,1]\n\ -The options for 'init' correspond to initializing the\n\ -cluster locations to:\n\ -\t0: Random exemplars\n\ -\t1: The centroids of a random partition of the data\n\ -\t2: The centroids of a sequential partition of the data\n\ -'maxiters' is the number of passes through the entire data set\n\ -for offline kmeans and the total number of online steps for online kmeans.\n\ -A reasonable value for online kmeans is 5*n.\n\ -The optimal solution has centers at .166..., 0.5, and .833...\n"; +static char *help_string = "Test the kmeans algorithms on uniform exemplars from [0,1]\nThe options for 'init' correspond to initializing the\ncluster locations to:\n\t0: Random exemplars\n\t1: The centroids of a random partition of the data\n\t2: The centroids of a sequential partition of the data\n'maxiters' is the number of passes through the entire data set\nfor offline kmeans and the total number of online steps for online kmeans.\nA reasonable value for online kmeans is 5*n.\nThe optimal solution has centers at .166..., 0.5, and .833...\n"; int main(int argc, char** argv) { diff -Nurd -x'*~' nodelib.orig/test/tnrbf.c nodelib/test/tnrbf.c --- nodelib.orig/test/tnrbf.c 2000-01-04 11:32:03.000000000 -0500 +++ nodelib/test/tnrbf.c 2006-01-10 22:28:17.000000000 -0500 @@ -8,9 +8,7 @@ #include #include -static char *help_string = "\ -Hill-Plateau test for NRBFs.\n\ -"; +static char *help_string = "Hill-Plateau test for NRBFs.\n"; /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */