summaryrefslogtreecommitdiff
path: root/gnulib-local/tests/test-moo-root.oo.c
blob: 00a72fe4dfd42e4240349d1a6702fc8b38e82513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <config.h>

/* Specification.  */
#include "test-moo-root.h"

#include <stdio.h>

#pragma implementation

int root::write (root_t x, void *buf, size_t len)
{
  fwrite (buf, 1, len, stdout);
  return 0;
}

void root::do_free (root_t x)
{
  free (x);
}