~ubuntu-branches/ubuntu/precise/xbuffy/precise-security

« back to all changes in this revision

Viewing changes to libdyn/dyn_paranoid.c

  • Committer: Bazaar Package Importer
  • Author(s): Joel Rosdahl
  • Date: 2001-10-02 08:21:23 UTC
  • Revision ID: james.westby@ubuntu.com-20011002082123-6nt02amum9m80oey
Tags: upstream-3.3.bl.3
ImportĀ upstreamĀ versionĀ 3.3.bl.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of libdyn.a, the C Dynamic Object library.  It
 
3
 * contains the source code for the function DynDebug().
 
4
 *
 
5
 * There are no restrictions on this code; however, if you make any
 
6
 * changes, I request that you document them so that I do not get
 
7
 * credit or blame for your modifications.
 
8
 *
 
9
 * Written by Barr3y Jaspan, Student Information Processing Board (SIPB)
 
10
 * and MIT-Project Athena, 1989.
 
11
 */
 
12
 
 
13
#include <stdio.h>
 
14
 
 
15
#include "dynP.h"
 
16
 
 
17
int DynParanoid(obj, state)
 
18
   DynObjectP obj;
 
19
   char state;
 
20
{
 
21
     obj->paranoid = state;
 
22
 
 
23
     if (obj->debug)
 
24
          fprintf(stderr, "dyn: paranoid: Paranoia set to %d.\n", state);
 
25
     return DYN_OK;
 
26
}