summaryrefslogtreecommitdiff
path: root/qsutil.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2014-04-27 16:09:00 -0700
committerJohn Denker <jsd@av8n.com>2014-04-27 16:33:32 -0700
commite13129817877ff8a4689b151b09a85af8a5f6359 (patch)
tree5e12f8ab8fb1ba1720ca827af1dfb2cfec496307 /qsutil.c
parent35da8253b2e133d485597b048b7c9cb4fb474444 (diff)
consistent names: Log1 Log2 Log3
Diffstat (limited to 'qsutil.c')
-rw-r--r--qsutil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/qsutil.c b/qsutil.c
index 59e68c7..56153e7 100644
--- a/qsutil.c
+++ b/qsutil.c
@@ -10,19 +10,19 @@ static struct substdio sserr = SUBSTDIO_FDBUF(write,0,errbuf,1);
void logsa(sa) stralloc *sa; {
substdio_putflush(&sserr,sa->s,sa->len); }
-void log1(s1) char *s1; {
+void Log1(s1) char *s1; {
substdio_putsflush(&sserr,s1); }
void Log2(s1,s2) char *s1; char *s2; {
substdio_putsflush(&sserr,s1);
substdio_putsflush(&sserr,s2); }
-void log3(s1,s2,s3) char *s1; char *s2; char *s3; {
+void Log3(s1,s2,s3) char *s1; char *s2; char *s3; {
substdio_putsflush(&sserr,s1);
substdio_putsflush(&sserr,s2);
substdio_putsflush(&sserr,s3); }
-void nomem() { log1("alert: out of memory, sleeping...\n"); sleep(10); }
+void nomem() { Log1("alert: out of memory, sleeping...\n"); sleep(10); }
void pausedir(dir) char *dir;
-{ log3("alert: unable to opendir ",dir,", sleeping...\n"); sleep(10); }
+{ Log3("alert: unable to opendir ",dir,", sleeping...\n"); sleep(10); }
static int issafe(ch) char ch;
{