PERFORCE change 172804 for review

Bjoern A. Zeeb bz at FreeBSD.org
Fri Jan 8 21:47:50 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=172804

Change 172804 by bz at bz_dumpster on 2010/01/08 21:46:49

	Make WARNS=6 save.
	
	For now ignore the fact that it seems that we still
	have an unsued BSD specialty in a register that we
	might no longer need but flag with XXX-BZ.

Affected files ...

.. //depot/projects/s390/lib/csu/s390/Makefile#2 edit
.. //depot/projects/s390/lib/csu/s390/crt1.c#3 edit
.. //depot/projects/s390/lib/csu/s390/crti.S#3 edit
.. //depot/projects/s390/lib/csu/s390/crtn.S#2 edit

Differences ...

==== //depot/projects/s390/lib/csu/s390/Makefile#2 (text+ko) ====


==== //depot/projects/s390/lib/csu/s390/crt1.c#3 (text+ko) ====

@@ -40,6 +40,7 @@
 extern void _fini(void);
 extern void _init(void);
 extern int main(int, char **, char **);
+extern void _do_start(char **, struct ps_strings *, void (*)(void));
 
 #ifdef GCRT
 extern void _mcleanup(void);
@@ -58,8 +59,9 @@
 char **environ;
 const char *__progname = "";
 
+/* XXX-BZ can't we just get rid of ps_strings - also for other archs? */
 void
-_do_start(char **ap, struct ps_strings *ps_strings, void (*cleanup)(void))
+_do_start(char **ap, struct ps_strings *ps_strings __unused, void (*cleanup)(void))
 {
 	int argc;
 	char **argv;

==== //depot/projects/s390/lib/csu/s390/crti.S#3 (text+ko) ====


==== //depot/projects/s390/lib/csu/s390/crtn.S#2 (text+ko) ====



More information about the p4-projects mailing list