summaryrefslogtreecommitdiffhomepage
path: root/internal.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-28 15:14:45 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-28 15:14:45 +0000
commit501c88b245fdc63f3f2a044fd7704bb468db3904 (patch)
tree3fff440532d8d380ae7e4f2933bc7163360f8279 /internal.h
parent6a99aaf0208151b7f5e5058efaa409496e2b7c4b (diff)
More sh updates (with related changes to everything else). Switched
to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 7f0b77475..9de1c9372 100644
--- a/internal.h
+++ b/internal.h
@@ -317,7 +317,7 @@ extern const char which_usage[];
extern const char whoami_usage[];
extern const char yes_usage[];
-extern char *applet_name;
+extern const char *applet_name;
extern void usage(const char *usage) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
@@ -380,6 +380,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags);
#ifndef DMALLOC
extern void *xmalloc (size_t size);
extern void *xrealloc(void *old, size_t size);
+extern void *xcalloc(size_t nmemb, size_t size);
extern char *xstrdup (const char *s);
#endif
extern char *xstrndup (const char *s, int n);