diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-11 23:18:34 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-11 23:18:34 +0000 |
commit | 860d626c678c69baabc8321885be8987123c2e08 (patch) | |
tree | 6dbe0563263413dbff820f3062edfacdf599b2df /usr.bin/mg/def.h | |
parent | a8097acdcd8a7136ad0692be7a1620649ae0dcf3 (diff) |
Add delete-leading-space, delete-trailing-space,
indent-current-line utility functions for stripping leading/trailing
whitespace, and setting a fixed indent respectively.
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r-- | usr.bin/mg/def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index 808ca15948f..0aa9de7b4b2 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.101 2008/06/10 23:23:53 kjell Exp $ */ +/* $OpenBSD: def.h,v 1.102 2008/06/11 23:18:33 kjell Exp $ */ /* This file is in the public domain. */ @@ -489,6 +489,9 @@ int newline(int, int); int deblank(int, int); int justone(int, int); int delwhite(int, int); +int delleadwhite(int, int); +int deltrailwhite(int, int); +int lfindent(int, int); int indent(int, int); int forwdel(int, int); int backdel(int, int); |