Skip to content

Commit 9f7fbe0

Browse files
committed
Merge branch 'js/my-first-contribution-update'
Documentation update. * js/my-first-contribution-update: Include gettext.h in MyFirstContribution tutorial
2 parents 00f372e + 6b79a21 commit 9f7fbe0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Documentation/MyFirstContribution.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,11 @@ in order to keep the declarations alphabetically sorted:
160160
int cmd_psuh(int argc, const char **argv, const char *prefix);
161161
----
162162

163-
Be sure to `#include "builtin.h"` in your `psuh.c`.
163+
Be sure to `#include "builtin.h"` in your `psuh.c`. You'll also need to
164+
`#include "gettext.h"` to use functions related to printing output text.
164165

165-
Go ahead and add some throwaway printf to that function. This is a decent
166-
starting point as we can now add build rules and register the command.
166+
Go ahead and add some throwaway printf to the `cmd_psuh` function. This is a
167+
decent starting point as we can now add build rules and register the command.
167168

168169
NOTE: Your throwaway text, as well as much of the text you will be adding over
169170
the course of this tutorial, is user-facing. That means it needs to be

0 commit comments

Comments
 (0)