netdissect-stdinc.h (313537) | netdissect-stdinc.h (327234) |
---|---|
1/* 2 * Copyright (c) 2002 - 2003 3 * NetGroup, Politecnico di Torino (Italy) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 380 unchanged lines hidden (view full) --- 389# define USES_APPLE_DEPRECATED_API 390# define USES_APPLE_RST 391#endif 392 393/* 394 * end of Apple deprecation workaround macros 395 */ 396 | 1/* 2 * Copyright (c) 2002 - 2003 3 * NetGroup, Politecnico di Torino (Italy) 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 380 unchanged lines hidden (view full) --- 389# define USES_APPLE_DEPRECATED_API 390# define USES_APPLE_RST 391#endif 392 393/* 394 * end of Apple deprecation workaround macros 395 */ 396 |
397/* 398 * Function attributes, for various compilers. 399 */ 400#include "funcattrs.h" 401 |
|
397#ifndef min 398#define min(a,b) ((a)>(b)?(b):(a)) 399#endif 400#ifndef max 401#define max(a,b) ((b)>(a)?(b):(a)) 402#endif 403 404#endif /* netdissect_stdinc_h */ | 402#ifndef min 403#define min(a,b) ((a)>(b)?(b):(a)) 404#endif 405#ifndef max 406#define max(a,b) ((b)>(a)?(b):(a)) 407#endif 408 409#endif /* netdissect_stdinc_h */ |