comparison src/emacs.c @ 4528:726060ee587c g++-warning-removal-2008-10-28

First draft of g++ 4.3 warning removal patch. Builds. *Needs ChangeLogs.*
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 29 Oct 2008 04:06:33 +0900
parents fc7067b7f407
children 80cd90837ac5
comparison
equal deleted inserted replaced
4524:03ba50f7ecd7 4528:726060ee587c
804 804
805 Too bad we can't just use getopt for all of this, but we don't have 805 Too bad we can't just use getopt for all of this, but we don't have
806 enough information to do it right. */ 806 enough information to do it right. */
807 807
808 static int 808 static int
809 argmatch (Wexttext **argv, int argc, Ascbyte *sstr, Ascbyte *lstr, 809 argmatch (Wexttext **argv, int argc, const Ascbyte *sstr, const Ascbyte *lstr,
810 int minlen, Wexttext **valptr, int *skipptr) 810 int minlen, Wexttext **valptr, int *skipptr)
811 { 811 {
812 Wexttext *p = NULL; 812 Wexttext *p = NULL;
813 Charcount arglen; 813 Charcount arglen;
814 Wexttext *arg; 814 Wexttext *arg;
860 return 0; 860 return 0;
861 } 861 }
862 } 862 }
863 863
864 static void 864 static void
865 check_compatible_window_system (Ascbyte *must) 865 check_compatible_window_system (const Ascbyte *must)
866 { 866 {
867 if (display_use && strcmp (display_use, must)) 867 if (display_use && strcmp (display_use, must))
868 fatal ("Incompatible window system type `%s': `%s' already specified", 868 fatal ("Incompatible window system type `%s': `%s' already specified",
869 must, display_use); 869 must, display_use);
870 display_use = must; 870 display_use = must;