mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-29 04:51:28 +00:00
Cleanup of includes and related changes based on include-what-you-use diagnostics (#436)
Remove unused #define PERCENT_OF_SCREEN in MyWindow.h Move structures for dir.c to dirdefs.h where they are used Resolve S_CHAR vs S_CHARACTER in favor of S_CHARACTER and cleanup #defines Fix = vs == bug in FSDEBUG code in dir.c Eliminate duplicate/unused constant definitions in gcr.c Declare static internal function bytecmp in mkatom.c Update many source and include files to include headers for what they use
This commit is contained in:
31
src/uutils.c
31
src/uutils.c
@@ -18,27 +18,22 @@
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifndef DOS
|
||||
#include <pwd.h>
|
||||
#include <pwd.h> // for getpwuid, passwd
|
||||
#endif
|
||||
|
||||
#include "lispemul.h"
|
||||
#include "adr68k.h"
|
||||
#include "lsptypes.h"
|
||||
#include <signal.h> // for killpg, SIGTSTP
|
||||
#include <stdio.h> // for printf, NULL, snprintf, size_t
|
||||
#include <stdlib.h> // for getenv
|
||||
#include <string.h> // for strcmp, strcpy, strlen, strncpy
|
||||
#include <unistd.h> // for getuid, gethostid, gethostname, getpgrp
|
||||
#include "adr68k.h" // for Addr68k_from_LADDR
|
||||
#include "keyboard.h" // for KBEVENT, KB_ALLUP, RING, KEYEVENTSIZE, MAXKE...
|
||||
#include "lispemul.h" // for LispPTR, DLword, NIL, ATOM_T
|
||||
#include "lspglob.h"
|
||||
#include "osmsg.h"
|
||||
#include "keyboard.h"
|
||||
|
||||
#include "uutilsdefs.h"
|
||||
#include "osmsgdefs.h"
|
||||
#include "uraiddefs.h"
|
||||
#include "lsptypes.h" // for GETWORD, OneDArray, GetTypeNumber, THIN_CHAR...
|
||||
#include "osmsg.h" // for OSMESSAGE_PRINT
|
||||
#include "uraiddefs.h" // for device_after_raid, device_before_raid
|
||||
#include "uutilsdefs.h" // for c_string_to_lisp_string, check_unix_password
|
||||
|
||||
/************************************************************************/
|
||||
/* */
|
||||
|
||||
Reference in New Issue
Block a user