hjl / source-git / glibc

Forked from source-git/glibc 3 years ago
Clone

Blame dlfcn/moddummy2.c

Packit 6c4009
/* Provide a dummy DSO for tst-rec-dlopen to use.  */
Packit 6c4009
#include <stdio.h>
Packit 6c4009
#include <stdlib.h>
Packit 6c4009
Packit 6c4009
int
Packit 6c4009
dummy2 (void)
Packit 6c4009
{
Packit 6c4009
  printf ("Called dummy2()\n");
Packit 6c4009
  /* If the outer dlopen is not dummy1 (becuase of some error)
Packit 6c4009
     then tst-rec-dlopen will see a value of -1 as the returned
Packit 6c4009
     result and fail.  */
Packit 6c4009
  return -1;
Packit 6c4009
}