Wregistry

Check-in [c0c5027c01]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add explicit return type to main() in test program.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c0c5027c01cd37587a4d8d1669ba144c8664b29c
User & Date: wbp 2017-06-24 19:54:09
Context
2018-01-27
22:52
Suppress pointer sign warnings if using the clang compiler. Leaf check-in: af5780f632 user: wbp tags: trunk
2017-06-24
19:54
Add explicit return type to main() in test program. check-in: c0c5027c01 user: wbp tags: trunk
2016-01-20
20:13
Fix error in WrDeleteSection() when trying to delete non-existent section. check-in: f676e3ddbc user: wbp tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to testwreg.c.

1
2
3
4
5
6
7

8
9
10
11
12
13
14
/* test program for libwreg */

#include <stdio.h>	/* for fprintf(), &c. */
#include <stdlib.h>	/* for exit() */

#include "wregistry.h"


main()
{
    int         code;
    char const *string = NULL;

    /* test of WrOpen() */
    if (WrOpen("Testwreg", "Wikareia") != 0)







>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* test program for libwreg */

#include <stdio.h>	/* for fprintf(), &c. */
#include <stdlib.h>	/* for exit() */

#include "wregistry.h"

int
main()
{
    int         code;
    char const *string = NULL;

    /* test of WrOpen() */
    if (WrOpen("Testwreg", "Wikareia") != 0)