projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae38d65
)
override nls P_() macro
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 9 May 2005 21:53:25 +0000
(21:53 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 9 May 2005 21:53:25 +0000
(21:53 -0000)
e2fsprogs/e2fsbb.h
patch
|
blob
|
history
diff --git
a/e2fsprogs/e2fsbb.h
b/e2fsprogs/e2fsbb.h
index 029bb4431cebde0a13a715261102c2cfcee78d43..ea44f7a1ec971141c92702356ae4f6980975eb1d 100644
(file)
--- a/
e2fsprogs/e2fsbb.h
+++ b/
e2fsprogs/e2fsbb.h
@@
-30,6
+30,7
@@
typedef long errcode_t;
/* NLS crap */
#define _(x) x
#define N_(x) x
+#define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
/* misc crap */
#define fatal_error(msg, err) bb_error_msg_and_die(msg)