1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

merge, mkcatdefs: add missing includes, clean up trailing whitespace

This commit is contained in:
Jon Trulson 2019-11-24 17:43:50 -07:00
parent 0a62def9bd
commit 0aec3c159f
2 changed files with 82 additions and 80 deletions

View file

@ -95,6 +95,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <locale.h> #include <locale.h>
#include <unistd.h>
#include <nl_types.h> #include <nl_types.h>
nl_catd catfile[2] = {NULL, NULL}; /* [0] for primary, [1] for default */ nl_catd catfile[2] = {NULL, NULL}; /* [0] for primary, [1] for default */

View file

@ -46,6 +46,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <locale.h> #include <locale.h>
#include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include <ctype.h> #include <ctype.h>
@ -317,7 +318,7 @@ mkcatdefs(char *fname)
sscanf (cp+3+len, "%s", setname); sscanf (cp+3+len, "%s", setname);
if (inclfile) if (inclfile)
fprintf (outfp, "\n/* definitions for set %s */\n", setname, ""); fprintf (outfp, "\n/* definitions for set %s */\n", setname);
if (isdigit(setname[0])) { if (isdigit(setname[0])) {
cpt = setname; cpt = setname;
do { do {