1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

Quick fixes to fix the broken tree. Needed for my morning compiles.

Chris - feel free to fix these things differently if these fixes don't
work for you.
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 1762196434
commit 1f225abfbe
5 changed files with 18 additions and 6 deletions

View File

@ -35,6 +35,12 @@
* -------------------------------------------------------------------------- **
*
* $Log: debugparse.h,v $
* Revision 1.2 1998/10/28 17:51:48 jra
* Quick fixes to fix the broken tree. Needed for my morning compiles.
* Chris - feel free to fix these things differently if these fixes don't
* work for you.
* Jeremy.
*
* Revision 1.1 1998/10/26 23:21:37 crh
* Here is the simple debug parser and the debug2html converter. Still to do:
*
@ -50,8 +56,6 @@
* ========================================================================== **
*/
#include "includes.h"
/* -------------------------------------------------------------------------- **
* These are the tokens returned by dbg_char2token().
*/

View File

@ -494,6 +494,8 @@ extern int errno;
#include "nterr.h"
#include "debugparse.h"
#ifndef MAXCODEPAGELINES
#define MAXCODEPAGELINES 256
#endif
@ -680,7 +682,7 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid);
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
#endif
#if (defined(HAVE_CRYPT) && !defined(HAVE_CRYPT_DECL))
#if (defined(HAVE_CRYPT) && !defined(HAVE_CRYPT_DECL) && !defined(KRB4_AUTH))
/* stupid glibc */
int crypt(const char *key, const char *salt);
#endif

View File

@ -88,7 +88,6 @@ BOOL dbghdr( int level, char *file, char *func, int line );
char *dbg_token2string( dbg_Token tok );
void dbg_test( void );
int main( void );
/*The following definitions come from lib/fault.c */

View File

@ -29,6 +29,12 @@
* -------------------------------------------------------------------------- **
*
* $Log: debugparse.c,v $
* Revision 1.2 1998/10/28 17:51:49 jra
* Quick fixes to fix the broken tree. Needed for my morning compiles.
* Chris - feel free to fix these things differently if these fixes don't
* work for you.
* Jeremy.
*
* Revision 1.1 1998/10/26 23:21:37 crh
* Here is the simple debug parser and the debug2html converter. Still to do:
*
@ -44,7 +50,7 @@
* ========================================================================== **
*/
#include "debugparse.h"
#include "includes.h"
/* -------------------------------------------------------------------------- **
* Constants...
@ -312,7 +318,7 @@ void dbg_test( void )
* This simple main line can be uncommented and used to test the parser.
*/
/*
int main( void )
int main( int argc, char **argv)
{
dbg_test();
return( 0 );

View File

@ -486,6 +486,7 @@ static void usage(char *pname)
printf("\t-P passive only\n");
printf("\t-a append to log file (default)\n");
printf("\t-o overwrite log file, don't append\n");
printf("\t-i scope NetBIOS scope to use (default none)\n");
printf("\n");
}